@mpcarlos87 wrote:
Hi,
I’m doing some research to save my custom plugin data before Rhino saves the 3dm file and I noticed that the event BeginSaveDocument and some overrided methods are being fired 2 times when doing a CopyToClipboard (CTRL + C) command and only 1 time when calling a SaveAs command. Here’s my command line output putting a Writeline into each event/override:
Command: '_CopyToClipboard
RhinoDocBeginSaveDocument
ShouldCallWriteDocument
RhinoDocBeginSaveDocument
ShouldCallWriteDocumentCommand: _SaveAs
RhinoDocBeginSaveDocument
ShouldCallWriteDocumentMaybe other methods are being also affected since I didn’t check all events/inherited methods from the Plugin class.
Regards,
Posts: 1
Participants: 1