Click or drag to resize

Component Class

返回用户文档首页
组件
Inheritance Hierarchy
SystemObject
  LoongCAD.STC.Friendly.SceneModelObject
    LoongCAD.STC.Friendly.SceneTFObject
      LoongCAD.STC.Friendly.SceneBaseComponent
        LoongCAD.STC.Friendly.SceneComponent

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

The Component type exposes the following members.

Constructors
 NameDescription
Public methodComponentInitializes a new instance of the Component class
Top
Properties
 NameDescription
Public propertyComponentGuid 组件GUID
(Inherited from BaseComponent)
Public propertyComponentInput 组件输入
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 propertyName 组件名称
(Inherited from BaseComponent)
Public propertyNumber 组件编号
(Inherited from BaseComponent)
Public propertyNumberPrefix 组件编号
(Inherited from BaseComponent)
Public propertyParent 父对象
(Inherited from ModelObject)
Public propertyPhase 阶段号
(Inherited from ModelObject)
Public propertyScene
(Inherited from ModelObject)
Public propertyStatus 组件运行状态
(Inherited from BaseComponent)
Public propertyType 核心对象类型
(Inherited from ModelObject)
Top
Methods
 NameDescription
Public methodDelete 从场景删除对象
(Inherited from ModelObject)
Public methodGetAttribute(String, Vector) 获取Vector属性值
(Inherited from BaseComponent)
Public methodGetAttribute(String, Double) 获取double属性值
(Inherited from BaseComponent)
Public methodGetAttribute(String, Int32) 获取int属性值
(Inherited from BaseComponent)
Public methodGetAttribute(String, Int64) 获取int属性值
(Inherited from BaseComponent)
Public methodGetAttribute(String, String) 获取string属性值
(Inherited from BaseComponent)
Public methodGetBoundingBox 获取对象在世界空间的包围盒
(Inherited from ModelObject)
Public methodGetCommonProps
(Overrides BaseComponentGetCommonProps)
Public methodGetCoordinateSystem 获取对象在场景空间的坐标系
(Inherited from ModelObject)
Public methodGetLabel 获取对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
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 methodGetUIProps
(Inherited from BaseComponent)
Public methodInsert
(Inherited from TFObject)
Public methodModify
(Inherited from TFObject)
Public methodRefresh
(Inherited from TFObject)
Public methodSelect 同Sync, 将场景中数据同步到对象
(Inherited from ModelObject)
Public methodSetAttribute(String, Double)
(Inherited from BaseComponent)
Public methodSetAttribute(String, Int32)
(Inherited from BaseComponent)
Public methodSetAttribute(String, Int64)
(Inherited from BaseComponent)
Public methodSetAttribute(String, String)
(Inherited from BaseComponent)
Public methodSetComponentInput 设置组件输入
Public methodSetLabel 设置对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public methodSetPhase 设置阶段号
(Inherited from ModelObject)
Public methodSync
(Inherited from TFObject)
Top
See Also