Click or drag to resize

SceneGetOrCreateConnectionComponent Method

返回用户文档首页
获取或创建嵌套的节点组件

Namespace: LoongCAD.STC
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
public ConnectionComponent GetOrCreateConnectionComponent(
	long compId,
	Guid compGuid,
	long mainPartId,
	long[] subPartIds,
	DObject fieldProps
)

Parameters

compId  Int64
子组件ID
compGuid  Guid
子组件GUID
mainPartId  Int64
子组件关联的主零件ID
subPartIds  Int64
子组件关联的次零件ID
fieldProps  DObject
子组件公开字段属性

Return Value

ConnectionComponent
节点组件实例
See Also