Click or drag to resize

BaseComponent Class

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

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

The BaseComponent type exposes the following members.

Properties
 NameDescription
Public propertyComponentGuid 组件GUID
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 组件名称
Public propertyNumber 组件编号
Public propertyNumberPrefix 组件编号
Public propertyParent 父对象
(Inherited from ModelObject)
Public propertyPhase 阶段号
(Inherited from ModelObject)
Public propertyScene
(Inherited from ModelObject)
Public propertyStatus 组件运行状态
Public propertyType 核心对象类型
(Inherited from ModelObject)
Top
Methods
 NameDescription
Public methodDelete 从场景删除对象
(Inherited from ModelObject)
Public methodGetAttribute(String, Vector) 获取Vector属性值
Public methodGetAttribute(String, Double) 获取double属性值
Public methodGetAttribute(String, Int32) 获取int属性值
Public methodGetAttribute(String, Int64) 获取int属性值
Public methodGetAttribute(String, String) 获取string属性值
Public methodGetBoundingBox 获取对象在世界空间的包围盒
(Inherited from ModelObject)
Public methodGetCommonProps 
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 
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) 
Public methodSetAttribute(String, Int32) 
Public methodSetAttribute(String, Int64) 
Public methodSetAttribute(String, String) 
Public methodSetLabel 设置对象标签, 标签用于插件中识别每次刷新修改的物体
(Inherited from ModelObject)
Public methodSetPhase 设置阶段号
(Inherited from ModelObject)
Public methodSync
(Inherited from TFObject)
Top
See Also