Click or drag to resize

CastUnit Methods

返回用户文档首页

The CastUnit type exposes the following members.

Methods
 NameDescription
Public methodDelete 从场景删除对象
(Inherited from ModelObject)
Public methodGetBoundingBox 获取对象在世界空间的包围盒
(Inherited from ModelObject)
Public methodGetCentroid 获取构件重心
(Inherited from PreBuilt)
Public methodGetCoordinateSystem 获取对象在场景空间的坐标系
(Inherited from ModelObject)
Public methodGetGrossWeight 获取构件毛重
(Inherited from PreBuilt)
Public methodGetLabel 获取对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public methodGetMainObject 获取主零件(零件/构件)
(Inherited from PreBuilt)
Public methodGetNetWeight 获取构件净重
(Inherited from PreBuilt)
Public methodGetPhase 获取阶段号
(Inherited from ModelObject)
Public methodGetReportProperty(String, Point)
(Inherited from ModelObject)
Public methodGetReportProperty(String, Vector)
(Inherited from ModelObject)
Public methodGetReportProperty(String, Double)
(Inherited from ModelObject)
Public methodGetReportProperty(String, Int32)
(Inherited from ModelObject)
Public methodGetReportProperty(String, Int64)
(Inherited from ModelObject)
Public methodGetReportProperty(String, String)
(Inherited from ModelObject)
Public methodGetSurfaceArea 获取构件表面积
(Inherited from PreBuilt)
Public methodGetVolume 获取构件体积
(Inherited from PreBuilt)
Public methodInsert
(Inherited from TFObject)
Public methodModify
(Inherited from TFObject)
Public methodRefresh
(Inherited from TFObject)
Public methodSelect 同Sync, 将场景中数据同步到对象
(Inherited from ModelObject)
Public methodSetLabel 设置对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public methodSetMainPart 设置主零件
(Inherited from PreBuilt)
Public methodSetPhase 设置阶段号
(Inherited from ModelObject)
Public methodSync
(Inherited from TFObject)
Top
See Also