目录
4.内建类别BuiltInCategory枚举(中英文对照)
1.视图规程
viewdiscipline:
Member name | Description |
---|---|
Architectural | Architectural 建筑 |
Structural | Structural结构 |
Mechanical | Mechanical机械 |
Electrical | Electrical电气 |
Plumbing | Plumbing管道 |
Coordination | Coordination协调 |
2.产品专业ProductType Enumeration
指的是使用的revit 产品:分建筑、结构、机电、revit、LT、Unkown六个类
Member name | Description |
---|---|
Architecture | Architecture. |
Structure | Structure. |
MEP | MEP. |
Revit | Revit. |
LT | LT. |
Unknown | Unknown. |
1.获取模型构件的ProductType 先通过Autodesk.Revit.ApplicationServices.ControlledApplication获取到ControlledApplication 再通过ControlledApplication类下的product属性,获取到ProductType public ProductType Product { get; } |
产品专业ProductType Enumeration
指的是使用的revit 产品:分建筑、结构、机电、revit、LT、Unkown六个类
Member name Description
Architecture Architecture.
Structure Structure.
MEP MEP.
Revit Revit.
LT LT.
Unknown Unknown.
1.获取模型构件的ProductType
先通过Autodesk.Revit.ApplicationServices.ControlledApplication获取到ControlledApplication
再通过ControlledApplication类下的product属性,获取到ProductType
public ProductType Product { get; }
3.构件分类
(1)revit内部视图选项卡组件使用了过滤器列表,按专业对构件类别分组,但对应API暂无。
(2)解决方案:因为族类别就是构件的category,创建族时进行了族类别的设置;所以可以根据族类别中过滤器列表的专业——族类别进行分组;然后根据构件的category获取对应专业。
4.内建类别BuiltInCategory枚举(中英文对照)
(1)模型类别
专用设备标记 : OST_SpecialityEquipmentTags
云线批注 : OST_RevisionClouds
云线批注标记 : OST_RevisionCloudTags
位移路径 : OST_DisplacementPath
体量标记 : OST_MassTags
体量楼层标记 : OST_MassAreaFaceTags
停车场标记 : OST_ParkingTags
内部点荷载标记 : OST_InternalPointLoadTags
内部线荷载标记 : OST_InternalLineLoadTags
内部面荷载标记 : OST_InternalAreaLoadTags
分区标记 : OST_ZoneTags
分析墙标记 : OST_WallAnalyticalTags
分析支撑标记 : OST_BraceAnalyticalTags
分析条形基础标记 : OST_WallFoundationAnalyticalTags
分析柱标记 : OST_ColumnAnalyticalTags
分析梁标记 : OST_BeamAnalyticalTags
分析楼层标记 : OST_FloorAnalyticalTags
分析楼板基础标记 : OST_FoundationSlabAnalyticalTags
分析独立基础标记 : OST_IsolatedFoundationAnalyticalTags
分析节点标记 : OST_NodeAnalyticalTags
分析链接标记 : OST_LinkAnalyticalTags
剖面 : OST_Sections
剖面框 : OST_SectionBox
卫浴装置标记 : OST_PlumbingFixtureTags
参照平面 : OST_CLines
参照点 : OST_ReferencePoints
参照线 : OST_