Click or drag to resize

Part Methods

返回用户文档首页

The Part type exposes the following members.

Methods
 NameDescription
Public methodDelete 从场景删除对象
(Inherited from ModelObject)
Public methodGetAssembly 所属构件
Public methodGetBolts 获取当前零件上的所有螺栓
Public methodGetBoundingBox 获取对象在世界空间的包围盒
(Inherited from ModelObject)
Public methodGetBoundPlane 获取指定边界面
Public methodGetCenterLine 获取零件中心线
Public methodGetCentroid 获取零件重心,此坐标受GlobalTransform影响
Public methodGetCoordinateSystem 获取对象在场景空间的坐标系
(Inherited from ModelObject)
Public methodGetCutters 获取当前零件上的所有切割体
Public methodGetGrossWeight 获取零件毛重
Public methodGetLabel 获取对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public methodGetLength 获取零件长度
Public methodGetNetWeight 获取零件净重
Public methodGetPhase 获取阶段号
(Inherited from ModelObject)
Public methodGetReferanceLine 获取零件参考线
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 methodGetSolid 获取零件几何体
Public methodGetSolid(SolidSolidCreationTypeEnum) 获取指定形式的零件几何体
Public methodGetSurfaceArea 获取零件表面积
Public methodGetVolume 获取零件体积
Public methodGetWelds 获取当前零件上的所有焊缝
Public methodInsert
(Inherited from TFObject)
Public methodModify
(Inherited from TFObject)
Public methodPickGeoFarPlane 基于参考坐标面捕捉零件的最远几何面,朝着目标方向寻找最远的几何面
Public methodPickGeoNearPlane 基于参考坐标面捕捉零件的最靠近几何面
Public methodPickGeoPlane 基于参考坐标面捕捉零件的几何面
Public methodPickPlanes 选择指定零件面
Public methodRefresh
(Inherited from TFObject)
Public methodSelect 同Sync, 将场景中数据同步到对象
(Inherited from ModelObject)
Public methodSetLabel 设置对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public methodSetPhase 设置阶段号
(Inherited from ModelObject)
Public methodSync
(Inherited from TFObject)
Top
See Also