摘要:
RawCurves 基本的分析模型线 RigidLinkHead 刚性链接点的头部 RigidLinkTail 刚性链接点的尾部 ActiveCurves 显示在屏幕中的模型线(不包含刚性链接点) ApproximatedCurves 接近一个线段的模型线 BaseCurve 直线模型分析线,包含柱 阅读全文
摘要:
分析模型主要被用来做结构分析,所以只有结构墙、结构柱等结构族才具有分析模型线,获取分析模型线,可以通过使用Element.GetAnalyticalModel()获得,然后调用分析模型的GetCurve或者GetPoint来获取分析模型的几何信息。此外,可以通过IsSingleCurve和IsSin 阅读全文
摘要:
Element.Location属性用来获取元素的位置,Location可以转化为LocationPoint和LocationCurve,如何这个元素是点,则转化为LocationPoint,如果是直线或者曲线则转化为LocationCurve 阅读全文
摘要:
对选中的对象进行删除 using System; using System.Windows.Forms; using System.Collections; using Autodesk.Revit; using Autodesk.Revit.DB; using Autodesk.Revit.UI; 阅读全文
摘要:
Revit中显示,如下对话框, using System; using System.Collections.Generic; using System.Text; using Autodesk.Revit; using Autodesk.Revit.DB; using Autodesk.Revit 阅读全文