Click or drag to resize

ComponentBaseGetOrCreateObject(String, DefineObjectType) Method

返回用户文档首页
创建对象,新对象会作为组件的子对象

Namespace: LoongCAD.STC.Object3D
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2024.0.9.3 (2024.0.9.3)
Syntax
C#
TFObject GetOrCreateObject(
	string usage,
	DefineObjectType type
)

Parameters

usage  String
对象用途key,用于下一次执行时索引复用复用
type  DefineObjectType
对象类型

Return Value

TFObject
新对象
See Also