前言
本文介绍 Revit 2021.1 新加的 Warning 节点以及相关概念。
内容
增加了 5 个 Warning 节点:
All Warnings of Type
得到所有选中类型的警告。Warning.GetFailingElements
得到引起这个警告的构件。Warning.GetWarnings
得到当前文档中的所有警告。Warning.Description
得到警告的描述。Warning.Severity
得到警告的严重程度(warning或者error,甚至failure)。
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200816231213756.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NDE1MzYzMA==,size_16,color_FFFFFF,t_70#pic_center)