Thanks for your support, @Willem!
So, it turns out:
-
your idea of using UserText was pretty nice, I was completely hung up on the ids conservations…
-
I didn’t manage to get the
Add()to work as it only acceptsFile3dmObject. I also didn’t try to death and my overall comprehension of Rhinocommon is still limited, so maybe it is still possible… -
I achieved to create the text with
AddText(String, Plane, Double, String, Boolean, Boolean, TextJustification, ObjectAttributes)and also managed to modify the id of the new created object to match the source object after it was deleted. -
But in the end…I finally renounced to use File3dm, as I also need to output a PDF for each file and it doesn’t seem to be possible currently: PDF Printing with Rhino.FileIO
-
I’m now reading each files with
RhinoDoc.ReadFile(..., ...), doing my modifications and finally exporting the PDF and saving the modified file to another directory.
Thanks! 