Click or drag to resize

CastUnit Class

返回用户文档首页
砼构件
Inheritance Hierarchy
SystemObject
  LoongCAD.STC.Friendly.SceneModelObject
    LoongCAD.STC.Friendly.SceneTFObject
      LoongCAD.STC.Friendly.ScenePreBuilt
        LoongCAD.STC.Friendly.SceneCastUnit

Namespace: LoongCAD.STC.Friendly.Scene
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
public sealed class CastUnit : PreBuilt

The CastUnit type exposes the following members.

Constructors
 NameDescription
Public methodCastUnitInitializes a new instance of the CastUnit class
Top
Properties
 NameDescription
Public propertyEnabled 对象是否启用
(Inherited from ModelObject)
Public propertyGuid 对象GUID
(Inherited from ModelObject)
Public propertyId 同Identifier, 缩写
(Inherited from ModelObject)
Public propertyIdentifier 对象ID
(Inherited from ModelObject)
Public propertyLabel 对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public propertyLocked 对象是否锁定
(Inherited from ModelObject)
Public propertyMainObject 主零件(零件/构件)
(Inherited from PreBuilt)
Public propertyName 构件名称
(Inherited from PreBuilt)
Public propertyParent 父对象
(Inherited from ModelObject)
Public propertyPhase 阶段号
(Inherited from ModelObject)
Public propertyScene
(Inherited from ModelObject)
Public propertyType 核心对象类型
(Inherited from ModelObject)
Top
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