龙宫STC SDK API Manual
龙宫STC SDK API Manual
龙宫STC SDK API 手册
LoongCAD.STC.Plugins
ComponentPlugin Class
ComponentPlugin Methods
CreateDefaultGuid Method
DefineInput Method
GetDefaultsData Method
GetFieldDescription Method
GetFieldType Method
OnDefaultSetupShowForm Method
OnInstanceCreate Method
OnInstanceRemoveField Method
OnInstanceRun Method
OnInstanceSetField Method
OnInstanceShowForm Method
OnInstanceWillRun Method
OnShowDefaultPropsForm Method
OnShowInstancePropsForm Method
OnShowPluginPropsForm Method
OnShowPropsForm Method
Component
Plugin Methods
返回用户文档首页
The
ComponentPlugin
type exposes the following members.
Methods
Name
Description
CreateDefaultGuid
DefineInput
友好模式下输入处理函数
DeleteDocumentData
删除当前插件的模型数据
(Inherited from
Plugin
)
DeleteGlobalData
删除当前插件的全局数据
(Inherited from
Plugin
)
GetDefaultsData
Obsolete.
GetDocumentData
获取当前插件的模型数据
(Inherited from
Plugin
)
GetFieldDescription
获取可导出字段的描述信息,必要时子类需要实现此方法
GetFieldType
获取可导出字段的数据类型,必要时子类需要实现此方法
GetGlobalData
获取当前插件的全局数据
(Inherited from
Plugin
)
GetRuntimeData
获取当前插件的运行时模型数据
(Inherited from
Plugin
)
OnDefaultSetupShowForm
Obsolete.
OnDocumentClose
模型关闭回调
(Inherited from
Plugin
)
OnDocumentOpen
模型打开回调
(Inherited from
Plugin
)
OnInstanceCreate
创建组件实例的后处理操作,基于当前默认属性初始化组件
OnInstanceRemoveField
为组件实例移除FieldData
OnInstanceRun(BaseComponent)
友好模式下运行组件
OnInstanceRun(ComponentBase, Int64)
运行组件
OnInstanceSetField
为组件实例设置FieldData
OnInstanceShowForm
Obsolete.
OnInstanceWillRun
在组件即将刷新前执行
OnPluginDispose
插件销毁回调
(Inherited from
Plugin
)
OnPluginInit
插件初始化方法
(Inherited from
Plugin
)
OnShowDefaultPropsForm
显示组件属性目标默认值编辑窗口
OnShowInstancePropsForm(BaseComponent, Form)
友好模式下显示组件实例的属性窗
OnShowInstancePropsForm(ComponentBase, Int64, Form)
显示组件实例的属性窗
OnShowPluginPropsForm
显示组件属性窗
OnShowPropsForm
Obsolete.
显示组件属性窗
QueryDocumentDataNames
查询当前插件的模型数据名称列表
(Inherited from
Plugin
)
QueryGlobalDataNames
查询当前插件的所有全局数据名称
(Inherited from
Plugin
)
SaveDocumentData
保存当前插件专属的模型数据
(Inherited from
Plugin
)
SaveGlobalData
保存当前插件专属的全局数据
(Inherited from
Plugin
)
SaveRuntimeData
保存当前插件的运行时模型数据
(Inherited from
Plugin
)
Top
See Also
Reference
ComponentPlugin Class
LoongCAD.STC.Plugins Namespace
返回首页
https://www.loongcad.com