Anybody knows if there a way to access to the exported document when exporting?
I would like to write into the string table on the exported file, but I’m not sure about how to proceed, the document passed by args in the methods RhinoDoc.BeginSaveDocument and RhinoDoc.EndSaveDocument is the Active Doc, not the exported one, and the file path passed in the agrs (the target file or a temp file called rh$****.tmp when copying geo) is not accesible via File3dm due to the file is locked (by Rhino I guess)
Thanks for your answer, saving (_Save) just takes the existing document, but exporting doesn’t.
When RhinoDoc.BeginSaveDocument is fired by _Export or _Copy commands any string written into e.Document.Strings (the Active Doc) is not stored on the target 3dm file, I made a short video and a test project to show it: