Miss Yip, would you like to ask if you can pass the file name and path to the program directly at development time, based on Revit API 2014. Instead of opening the current active view in the Revit software, you get the information directly in the file. Is this possible?
Answer: Can. You can use the OpenDocumentFile () function to open a file with the file name. This is opened in the background of Revit and the user is not open. In fact, Revit reads this file into memory.
You can then traverse the target object from the document returned by this opendocumentfile () function. Read its data.
Sativus, the advance and the catalyst for the two development of Revit in China
Reprint Please specify source: http://blog.csdn.net/joexiongjin/article/details/31437159
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Do not open files, read the RVT information archive