简体   繁体   中英

Revit API - Reading all Project Warnings

Is there any way to read all warning of the projects. I tried to follow some solution on the forums but I wasn't able to get the list of warning of the current project because it returns the list of default warnings that has nothing to do with the warning list of the current project.

I don't want to export the warning in HTML and read it from there, I rather like to read it from code. Is there any way I can achieve this via API?

Ideally, I'd like to read the warning in a hierarchy as shown in the image below.

在此处输入图片说明

Yes. The Revit 2018 API implements a new method to to get a list of reviewable warnings from a Document .

I just answered the same question in the Revit API discussion forum as well:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM