SceneGetOrCreateDetailComponent(Int64, Guid, Vec3, Int64, DObject) Method |
返回用户文档首页
获取或创建嵌套的细部组件(指定组件位置)
Namespace: LoongCAD.STCAssembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntaxpublic DetailComponent GetOrCreateDetailComponent(
long compId,
Guid compGuid,
Vec3 tagPos,
long mainPartId,
DObject fieldProps
)
Parameters
- compId Int64
- 子组件ID
- compGuid Guid
- 子组件GUID
- tagPos Vec3
- 子组件位置
- mainPartId Int64
- 子组件关联的主零件ID
- fieldProps DObject
- 子组件公开字段属性
Return Value
DetailComponent细部组件实例
See Also