Click or drag to resize

ComponentBaseGetOrCreateObject(String, DefineObjectType, Vec3) 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,
	Vec3[] ctrlPointsW
)

Parameters

usage  String
对象用途key,用于下一次执行时索引复用复用
type  DefineObjectType
对象类型
ctrlPointsW  Vec3
对象控制点世界坐标列表

Return Value

TFObject
新对象
See Also