Do not open files, read the RVT information archive

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.