简体   繁体   English

使用 Revit API 绘制从网格线到套筒的尺寸(特殊设备)

[英]Using Revit API draw dimension from gridline to sleeve (Speciality equipment)

Source Code Using Revit API when we apply Dimension from Grid line to Sleeve (Specialty equipment) that time Revit returns an error message .from error message if i click "Cancel" option deletes the dimensions and if i click the "remove reference" button that time some dimension are deleted.当我们将网格线中的尺寸应用到套管(特殊设备)时使用 Revit API 的源代码,那时 Revit 返回错误消息。如果我单击“取消”选项会删除错误消息,并且如果我单击“删除参考”按钮,删除某些维度的时间。

错误图像 - 突出显示尺寸的参考不再平行

Create a dimension that works manually through the user interface first, then use RevitLookup to analyse its properties and find out what exact references it has picked up.首先创建一个通过用户界面手动工作的尺寸,然后使用 RevitLookup 分析其属性并找出它选取的确切参考。 In general, if a feature is not available in the Revit product manually through the user interface, then the Revit API will not provide it either.通常,如果 Revit 产品中没有通过用户界面手动提供的功能,则 Revit API 也不会提供它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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