Click or drag to resize

ComponentPluginOnInstanceCreate Method

返回用户文档首页
创建组件实例的后处理操作,基于当前默认属性初始化组件

Namespace: LoongCAD.STC.Plugins
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2024.0.9.3 (2024.0.9.3)
Syntax
C#
public virtual bool OnInstanceCreate(
	ComponentBase instObj,
	CompCreateInfo cinfo
)

Parameters

instObj  ComponentBase
组件实例
cinfo  CompCreateInfo
用于创建组件的信息

Return Value

Boolean
是否处理成功
See Also