Message 1 of 3
How to open Revit file in memory ?

Not applicable
04-10-2019
05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello every one , I'm new revit api developer and i need your help, what i want is to open revit file in standalone program which means that i do not have ExternalCommandData class .
I tried this code
Document document= commandData.Application.Application.OpenDocumentFile(Path);
but it depepnds on ExternalCommandData commandData which is not passed to me in my code .
In other words is there is any way to open revit document in memory without using this class(ExternalCommandData)
"I'm using windows 10 with visual studio 2017 and revit 2019"
Thanks in advanced