- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
Sorry for my stupid question, can't find an answer. But I'm sure there is a way.
Is there something like a session id for open documents?
I would like to uniquely identify a Autodesk.Revit.DB.Document object, for example in the ViewActivated Event. This is needed while more than one document can be open at the same time in Revit. Because I hold some stuff in memory, I need to know to which document it belongs.
The DocumentPath as Id is not an option, because newly created documents have a zero string (could be occur more than one as well in a session)
Many thanks for hints
Tobias
Solved! Go to Solution.