Hello I’m trying to implement some functionality in a plugin that lets me save a 3dm file with a timestamp added to the filename.
I am kind of confused as to when a Rhinodoc loads all its properties.
I tried several events:
- ActiveDocumentChanged
- EndOpenDocument
- EndOpenDocumentInitialiViewUpdate (which has a typo “InitialiVie…” btw)
All of them supply the doc that is loaded and i can get Properties like dateLastEdited or Layers and actual Objects in the file. I need the fileName and the filePath Properties which are both null after those events fire.
My Question: After which loading event is the active Rhinodoc fully loaded so that i can acces Rhinodoc.Name and Rhinodoc.Path?
EDIT: i just recognized that the DocumentOpenEventArgs has a FileName Property, still need the filepath though.
Thanks in advance,
Lando