Click or drag to resize

UtilityPlugin Class

返回用户文档首页
应用插件 可自定义执行一般功能的插件 可通过应用管理器访问,也可作为按钮显示在菜单或工具栏中
Inheritance Hierarchy
SystemObject
  LoongCAD.STC.Friendly.PluginsPluginBase
    LoongCAD.STC.Friendly.PluginsUtilityPlugin

Namespace: LoongCAD.STC.Friendly.Plugins
Assembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2025.0.9.14 (2025.0.9.14)
Syntax
C#
public abstract class UtilityPlugin : PluginBase

The UtilityPlugin type exposes the following members.

Properties
 NameDescription
Public propertyGuid 当前插件的唯一标识符
(Inherited from PluginBase)
Public propertyIdentifier 同Guid
(Inherited from PluginBase)
Top
Methods
 NameDescription
Public methodBeginModify 对模型场景开始一次修改
(Inherited from PluginBase)
Public methodEndModify 对模型场景结束一次修改
(Inherited from PluginBase)
Public methodIsDefaultValue(Double) 检查浮点参数是否为默认值
(Inherited from PluginBase)
Public methodIsDefaultValue(Int32) 检查32位整数参数是否为默认值
(Inherited from PluginBase)
Public methodIsDefaultValue(Int64) 检查64位长整数参数是否为默认值
(Inherited from PluginBase)
Public methodIsDefaultValue(String) 检查字符串是否为默认值
(Inherited from PluginBase)
Public methodOnDocumentClosed 模型关闭行为
Public methodOnDocumentOpened 模型打开行为
Public methodOnPluginDisposed 插件销毁行为
Public methodOnPluginLoaded 插件加载行为
Public methodRun 运行函数
Top
See Also