Hello, we have implemented a command in our plugin that lets users import into the current model some objects from another 3dm file. The file being imported contains plugin data that we want to access.
I tried to read the file by means of
File3dm class, but I can’t figure out how to retrieve the plugin data related to the model being imported.
While loading a whole file (e.g. open a file) is well managed by
ReadDocument override method of the
PlugIn class, I do not find so straigthforward to get the same information from a raw File3dm instance.
Do I have to read the file as a
BinaryArchiveFile? Even so, how can I read the file chunk containing the plugin data I am interested in?
Thank you for any idea that will help me unravelling this matter.