WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Enumeration CadEvents

    CAD事件类型枚举

    定义所有可监听的CAD事件类型

    Index

    Enumeration Members

    DocumentCreating: "DocumentCreating"

    新建文档前(可取消)

    DocumentCreated: "DocumentCreated"

    新建文档后

    DocumentOpening: "DocumentOpening"

    打开文档前(可取消)

    DocumentOpened: "DocumentOpened"

    打开文档后

    DocumentClosing: "DocumentClosing"

    关闭文档前(可取消)

    DocumentClosed: "DocumentClosed"

    关闭文档后

    DocumentSaving: "DocumentSaving"

    保存文档前(可取消)

    DocumentSaved: "DocumentSaved"

    保存文档后

    DocumentModified: "DocumentModified"

    文档被修改后

    DocumentSwitched: "DocumentSwitched"

    切换当前文档后

    EntityAdding: "EntityAdding"

    添加实体前(可取消)

    EntityAdded: "EntityAdded"

    添加实体后

    EntitiesAdding: "EntitiesAdding"

    批量添加实体前(可取消)

    EntitiesAdded: "EntitiesAdded"

    批量添加实体后

    EntityModified: "EntityModified"

    实体属性修改后

    EntityErasing: "EntityErasing"

    删除实体前(可取消)

    EntityErased: "EntityErased"

    删除实体后

    EntitiesErasing: "EntitiesErasing"

    批量删除前(可取消)

    EntitiesErased: "EntitiesErased"

    批量删除后

    CommandStarting: "CommandStarting"

    命令开始执行前(可取消)

    CommandStarted: "CommandStarted"

    命令开始执行后

    CommandEnded: "CommandEnded"

    命令执行结束后

    CommandCancelled: "CommandCancelled"

    命令被取消后

    LayerAdding: "LayerAdding"

    添加图层前(可取消)

    LayerAdded: "LayerAdded"

    添加图层后

    LayerDeleting: "LayerDeleting"

    删除图层前(可取消)

    LayerDeleted: "LayerDeleted"

    删除图层后

    LayerModified: "LayerModified"

    图层属性修改后

    CurrentLayerChanged: "CurrentLayerChanged"

    当前图层切换后

    SelectionChanged: "SelectionChanged"

    选择集变化后

    SelectionCleared: "SelectionCleared"

    选择集清空后

    ViewZoomed: "ViewZoomed"

    视图缩放后

    ViewPanned: "ViewPanned"

    视图平移后

    ViewRegenerated: "ViewRegenerated"

    视图重绘后

    BlockAdding: "BlockAdding"

    添加块定义前(可取消)

    BlockAdded: "BlockAdded"

    添加块定义后

    BlockDeleting: "BlockDeleting"

    删除块定义前(可取消)

    BlockDeleted: "BlockDeleted"

    删除块定义后

    BlockModified: "BlockModified"

    块定义修改后

    DocumentUploading: "DocumentUploading"

    上传文档到服务端前(可取消)

    DocumentUploaded: "DocumentUploaded"

    上传文档到服务端后

    DocumentDownloading: "DocumentDownloading"

    从服务端下载文档前(可取消)

    DocumentDownloaded: "DocumentDownloaded"

    从服务端下载文档后

    DocumentSyncStatusChanged: "DocumentSyncStatusChanged"

    文档同步状态变化

    DocumentCaching: "DocumentCaching"

    保存到本地缓存前(可取消)

    DocumentCached: "DocumentCached"

    保存到本地缓存后

    DocumentRestoring: "DocumentRestoring"

    从本地缓存恢复前(可取消)

    DocumentRestored: "DocumentRestored"

    从本地缓存恢复后

    DocumentCacheCleared: "DocumentCacheCleared"

    本地缓存清理后

    BranchCreating: "BranchCreating"

    创建分支前(可取消)

    BranchCreated: "BranchCreated"

    创建分支后

    BranchSwitching: "BranchSwitching"

    切换分支前(可取消)

    BranchSwitched: "BranchSwitched"

    切换分支后

    BranchMerging: "BranchMerging"

    合并分支前(可取消)

    BranchMerged: "BranchMerged"

    合并分支后

    BranchDeleting: "BranchDeleting"

    删除分支前(可取消)

    BranchDeleted: "BranchDeleted"

    删除分支后

    PatchCreating: "PatchCreating"

    创建Patch前(可取消)

    PatchCreated: "PatchCreated"

    创建Patch后

    PatchApplying: "PatchApplying"

    应用Patch前(可取消)

    PatchApplied: "PatchApplied"

    应用Patch后

    PatchReverting: "PatchReverting"

    撤销Patch前(可取消)

    PatchReverted: "PatchReverted"

    撤销Patch后

    ConflictDetected: "ConflictDetected"

    检测到冲突

    ConflictResolving: "ConflictResolving"

    冲突解决前(可取消)

    ConflictResolved: "ConflictResolved"

    冲突解决后

    ConflictSkipped: "ConflictSkipped"

    冲突解决被跳过

    ContextMenuOpening: "ContextMenuOpening"

    右键菜单打开前(可取消、可自定义菜单项)

    ContextMenuOpened: "ContextMenuOpened"

    右键菜单打开后

    ContextMenuItemClicked: "ContextMenuItemClicked"

    右键菜单项点击

    PluginLoading: "PluginLoading"

    插件开始加载

    PluginLoaded: "PluginLoaded"

    插件加载完成

    PluginActivating: "PluginActivating"

    插件开始激活

    PluginActivated: "PluginActivated"

    插件激活完成

    PluginDeactivating: "PluginDeactivating"

    插件开始停用

    PluginDeactivated: "PluginDeactivated"

    插件停用完成

    PluginUnloading: "PluginUnloading"

    插件开始卸载

    PluginUnloaded: "PluginUnloaded"

    插件卸载完成

    PluginError: "PluginError"

    插件发生错误

    RibbonConfigChanged: "RibbonConfigChanged"

    Ribbon 配置变更