Click or drag to resize

PartComponent Interface

返回用户文档首页
节点组件

Namespace: LoongCAD.STC.Object3D
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
public interface PartComponent : ComponentBase, 
	TFObject, ObjectBase, IGroup

The PartComponent type exposes the following members.

Properties
 NameDescription
Public propertyChildren 子对象数组
(Inherited from IGroup)
Public propertyCommonProps 组件通用属性(对应通用页的属性)
(Inherited from ComponentBase)
Public propertyCompGuid 组件GUID
(Inherited from ComponentBase)
Public propertyCtrlPoints
(Inherited from TFObject)
Public propertyCustomProps 组件自定义属性
(Inherited from ComponentBase)
Public propertyDisposed 对象是否已销毁
(Inherited from ObjectBase)
Public propertyEnabled 对象是否启用
(Inherited from ObjectBase)
Public propertyFieldProps 可编辑字段属性集
(Inherited from ComponentBase)
Public propertyFlags 对象标志位
(Inherited from ObjectBase)
Public propertyGuid 对象GUID
(Inherited from TFObject)
Public propertyHorizonOffset 水平位置偏移
Public propertyHorizonOffsetSide 水平位置偏移基准侧
Public propertyId 对象ID
(Inherited from ObjectBase)
Public propertyIsCompRuntimeChild 对象是否组件的运行时子节点
(Inherited from ObjectBase)
Public propertyLocalMatrix 对象本地空间坐标矩阵
(Inherited from TFObject)
Public propertyLocked 对象是否锁定
(Inherited from ObjectBase)
Public propertyObjectMatrix 对象在父空间的坐标矩阵
(Inherited from TFObject)
Public propertyObjectWorldMatrix 对象在世界空间的坐标矩阵 NOTE: 此变换受Scene.GlobalTransform影响
(Inherited from TFObject)
Public propertyParent 父对象
(Inherited from TFObject)
Public propertyParentMatrix 父对象在世界空间的坐标矩阵 NOTE: 此变换受Scene.GlobalTransform影响
(Inherited from TFObject)
Public propertyPhaseNoObsolete.
阶段编号
(Inherited from TFObject)
Public propertyPhaseNumber 阶段编号
(Inherited from TFObject)
Public propertyPreBuilt 所属构件
(Inherited from TFObject)
Public propertyRotation 旋转角度
Public propertyRotationSide 旋转基准侧
Public propertyRunOrder 在主零件拥有多个组件的情况下,当前组件在其中的运行次序,数值越低,越优先运行 此属性仅对节点,细部有效
(Inherited from ComponentBase)
Public propertyScene 所属场景
(Inherited from ObjectBase)
Public propertyTagPos 组件图标在组件局部空间下的位置
(Inherited from ComponentBase)
Public propertyType 对象类型
(Inherited from ObjectBase)
Public propertyUIProps 组件UI交互属性(不包含通用页的属性)
(Inherited from ComponentBase)
Public propertyUsageInComp
(Inherited from TFObject)
Public propertyVerticalOffset 垂直位置偏移
Public propertyVerticalOffsetSide 垂直位置偏移基准侧
Public propertyViewId 对象所在视图ID,仅对部分对象有效
(Inherited from TFObject)
Public propertyWorkAxis 工作坐标系 NOTE: 此变换受Scene.GlobalTransform影响
(Inherited from TFObject)
Public propertyWorldMatrix 对象在世界空间的坐标矩阵 NOTE: 此变换受Scene.GlobalTransform影响
(Inherited from TFObject)
Public propertyWorldTagPos 组件图标在世界空间下的位置
(Inherited from ComponentBase)
Top
Methods
 NameDescription
Public methodAddChild 将对象添加为组件的子对象
(Inherited from ComponentBase)
Public methodCreateAlignPlane(PartBase, Plane, Boolean) 创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
(Inherited from ComponentBase)
Public methodCreateAlignPlane(PartBase, Plane, Double, Double, Boolean) 创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
(Inherited from ComponentBase)
Public methodCreateAutoWeldObsolete.
创建自动焊缝
(Inherited from ComponentBase)
Public methodCreateBeamCutter 创建梁切割体
(Inherited from ComponentBase)
Public methodCode exampleCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, Boolean)Obsolete.
创建螺栓组
(Inherited from ComponentBase)
Public methodCode exampleCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, Boolean)Obsolete.
创建螺栓组
(Inherited from ComponentBase)
Public methodCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, String, Double, UInt32, Boolean)Obsolete.
创建螺栓组
(Inherited from ComponentBase)
Public methodCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, String, Double, UInt32, Boolean)Obsolete.
创建螺栓组
(Inherited from ComponentBase)
Public methodCreateBoltHoles(PartBase, PartBase, Vec3, Vec3, Boolean)Obsolete.
创建螺栓孔组
(Inherited from ComponentBase)
Public methodCreateBoltHoles(PartBase, PartBase, Vec3, Vec3, Boolean)Obsolete.
创建螺栓孔组
(Inherited from ComponentBase)
Public methodCreateConcreteBeam 创建混凝土梁
(Inherited from ComponentBase)
Public methodCreateConcretePadFoot 创建混凝土基础
(Inherited from ComponentBase)
Public methodCreateConcretePanel 创建混凝土墙
(Inherited from ComponentBase)
Public methodCreateConcreteSlab(Plane, Plane, Plane, Boolean) 创建混凝土板
(Inherited from ComponentBase)
Public methodCreateConcreteSlab(Plane, Plane, Double, Boolean) 创建混凝土板
(Inherited from ComponentBase)
Public methodCreateConcreteSlab(Vec3, Double, DefineObjectSide, Boolean) 创建混凝土板
(Inherited from ComponentBase)
Public methodCreateCutPlane(PartBase, Plane, Boolean) 创建零件的切割面(对目标零件执行面切割)
(Inherited from ComponentBase)
Public methodCreateCutPlane(PartBase, Plane, Double, Double, Boolean) 创建零件的切割面(对目标零件执行面切割)
(Inherited from ComponentBase)
Public methodCreateLine 创建辅助线
(Inherited from ComponentBase)
Public methodCreateObject(DefineObjectType, Boolean) 创建对象,新对象会作为组件的子对象
(Inherited from ComponentBase)
Public methodCreateObject(DefineObjectType, Vec3, Boolean) 创建对象,
(Inherited from ComponentBase)
Public methodCreatePlateCutter(PartBase, Plane, Plane, Plane, Boolean) 创建板切割体(对目标零件执行切割)
(Inherited from ComponentBase)
Public methodCreatePlateCutter(PartBase, Vec3, Double, DefineObjectSide, Boolean) 创建板切割体
(Inherited from ComponentBase)
Public methodCreatePoint 创建辅助点
(Inherited from ComponentBase)
Public methodCreatePolyBeamCutter 创建折形梁切割体
(Inherited from ComponentBase)
Public methodCreatePolyWeldObsolete.
创建多边形焊缝
(Inherited from ComponentBase)
Public methodCreateQuad 创建辅助面片
(Inherited from ComponentBase)
Public methodCreateSteelBeam 获取或创建钢梁
(Inherited from ComponentBase)
Public methodCreateSteelPlate(Plane, Plane, Plane, Boolean) 创建钢板
(Inherited from ComponentBase)
Public methodCreateSteelPlate(Plane, Plane, Double, Boolean) 创建钢板
(Inherited from ComponentBase)
Public methodCreateSteelPlate(Plane, Double, Plane, Boolean)Obsolete.
创建钢板
(Inherited from ComponentBase)
Public methodCreateSteelPlate(Vec3, Double, DefineObjectSide, Boolean) 创建钢板
(Inherited from ComponentBase)
Public methodCreateSteelPolyBeam 创建钢折形梁
(Inherited from ComponentBase)
Public methodDeleteObject 删除子对象
(Inherited from ComponentBase)
Public methodDeleteObjects 删除子对象组
(Inherited from ComponentBase)
Public methodFlush 将对象属性同步到对应的内核对象
(Inherited from ObjectBase)
Public methodGetBoundingBox 获取对象在世界空间的包围盒
(Inherited from TFObject)
Public methodGetOrCreateAlignPlane(String, PartBase, Plane) 获取或创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
(Inherited from ComponentBase)
Public methodGetOrCreateAlignPlane(String, PartBase, Plane, Double, Double) 获取或创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
(Inherited from ComponentBase)
Public methodGetOrCreateAutoWeld(String, PartBase, PartBase, Vec3) 获取或创建自动焊缝
(Inherited from ComponentBase)
Public methodGetOrCreateAutoWeld(String, PartBase, PartBase, DefineSpaceAxis) 获取或创建自动焊缝
(Inherited from ComponentBase)
Public methodGetOrCreateBeamCutter 获取或创建梁切割体
(Inherited from ComponentBase)
Public methodCode exampleGetOrCreateBoltGroup(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓组
(Inherited from ComponentBase)
Public methodCode exampleGetOrCreateBoltGroup(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓组
(Inherited from ComponentBase)
Public methodGetOrCreateBoltHoles(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓孔组
(Inherited from ComponentBase)
Public methodGetOrCreateBoltHoles(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓孔组
(Inherited from ComponentBase)
Public methodGetOrCreateConcreteBeam 获取或创建混凝土梁
(Inherited from ComponentBase)
Public methodGetOrCreateConcretePadFoot 获取或创建混凝土基础
(Inherited from ComponentBase)
Public methodGetOrCreateConcretePanel 获取或创建混凝土墙
(Inherited from ComponentBase)
Public methodGetOrCreateConcreteSlab(String, Plane, Plane, Plane) 获取或创建混凝土板
(Inherited from ComponentBase)
Public methodGetOrCreateConcreteSlab(String, Plane, Plane, Double) 获取或创建混凝土板
(Inherited from ComponentBase)
Public methodGetOrCreateConcreteSlab(String, Vec3, Double, DefineObjectSide) 获取或创建混凝土板
(Inherited from ComponentBase)
Public methodGetOrCreateConnectionComponent 获取或创建嵌套的节点组件
(Inherited from ComponentBase)
Public methodGetOrCreateCustomComponent 获取或创建嵌套的自定义组件
(Inherited from ComponentBase)
Public methodGetOrCreateCutPlane(String, PartBase, Plane) 获取或创建零件的切割面(对目标零件执行面切割)
(Inherited from ComponentBase)
Public methodGetOrCreateCutPlane(String, PartBase, Plane, Double, Double) 获取或创建零件的切割面(对目标零件执行面切割)
(Inherited from ComponentBase)
Public methodGetOrCreateDetailComponent(String, Guid, Int64, DObject) 获取或创建嵌套的细部组件
(Inherited from ComponentBase)
Public methodGetOrCreateDetailComponent(String, Guid, Vec3, Int64, DObject) 获取或创建嵌套的细部组件(指定组件位置)
(Inherited from ComponentBase)
Public methodGetOrCreateLine 获取或创建辅助线
(Inherited from ComponentBase)
Public methodGetOrCreateObject(String, DefineObjectType) 创建对象,新对象会作为组件的子对象
(Inherited from ComponentBase)
Public methodGetOrCreateObject(String, DefineObjectType, Vec3) 创建对象,
(Inherited from ComponentBase)
Public methodGetOrCreatePlateCutter(String, PartBase, Plane, Plane, Plane) 获取或创建板切割体(对目标零件执行切割)
(Inherited from ComponentBase)
Public methodGetOrCreatePlateCutter(String, PartBase, Vec3, Double, DefineObjectSide)
(Inherited from ComponentBase)
Public methodGetOrCreatePoint 获取或创建辅助点
(Inherited from ComponentBase)
Public methodGetOrCreatePolyBeamCutter 获取或创建折形梁切割体(对目标零件执行切割)
(Inherited from ComponentBase)
Public methodGetOrCreatePolyWeld 获取或创建多边形焊缝
(Inherited from ComponentBase)
Public methodGetOrCreatePreBuiltLink 获取或创建构件手动连接
(Inherited from ComponentBase)
Public methodGetOrCreateQuad 获取或创建辅助面片
(Inherited from ComponentBase)
Public methodGetOrCreateSteelBeam 获取或创建钢梁
(Inherited from ComponentBase)
Public methodGetOrCreateSteelPlate(String, Plane, Plane, Plane) 获取或创建钢板
(Inherited from ComponentBase)
Public methodGetOrCreateSteelPlate(String, Plane, Plane, Double) 获取或创建钢板
(Inherited from ComponentBase)
Public methodGetOrCreateSteelPlate(String, Plane, Double, Plane)Obsolete.
获取或创建钢板
(Inherited from ComponentBase)
Public methodGetOrCreateSteelPlate(String, Vec3, Double, DefineObjectSide) 获取或创建钢板
(Inherited from ComponentBase)
Public methodGetOrCreateSteelPolyBeam 获取或创建钢折形梁
(Inherited from ComponentBase)
Public methodGetUserVariable 获取组件中配置的用户变量
(Inherited from ComponentBase)
Public methodModifyUIProps 修改UI交互属性
(Inherited from ComponentBase)
Public methodRefresh 刷新内核对象
(Inherited from ObjectBase)
Public methodRefreshCompObsolete.
刷新组件,此方法已弃用,请使用Refresh()代替
(Inherited from ComponentBase)
Public methodSetLocalCtrlPoints 在本地坐标系下设置控制点
(Inherited from TFObject)
Public methodSetWorldCtrlPoints 在世界坐标系下设置控制点 NOTE: points中坐标位置受Scene.GlobalTransform影响
(Inherited from TFObject)
Top
See Also