Click or drag to resize

ComponentBaseGetOrCreateDetailComponent(String, Guid, Int64, DObject) Method

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

Namespace: LoongCAD.STC.Object3D
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
DetailComponent GetOrCreateDetailComponent(
	string usage,
	Guid compGuid,
	long mainPartId,
	DObject fieldProps
)

Parameters

usage  String
子组件用途key,用于下一次执行查表复用组件ID
compGuid  Guid
子组件GUID
mainPartId  Int64
子组件关联的主零件ID
fieldProps  DObject
子组件公开字段属性

Return Value

DetailComponent
细部组件实例
See Also