UIMacroManager
Description:
The UI macro manager to support Macro operations related to the sharp develop IDE.
The UI macro manager to support Macro operations related to the sharp develop IDE.
public class UIMacroManager : IDisposable
| Name | Return Type | Description |
|---|---|---|
| AddModule(ModuleSettings, MacroEnvironment) | The new module. | Adds a MacroModule to the application or document. |
| Dispose() | None | Releases all resources used by the |
| EditMacro(Macro) | None | Edits the macro in sharp develop. |
| EditModule(MacroModule) | None | Edits the macro in sharp develop. |
| GetMacroManager(UIApplication) | UIMacroManager | Gets the UI Macro manager from the UI application. |
| GetMacroManager(UIDocument) | UIMacroManager | Gets the UI Macro manager from the UI document. |
| GetUIDocumentMacroSecurityOptions(UIApplication) | UIDocumentMacroOptions | Gets the UI document macro security options. |
| RemoveModule(MacroModule) | None | Removes a MacroModule from the application or document. |
| SetUIDocumentMacroSecurityOptions(UIApplication, UIDocumentMacroOptions) | None | Sets the UI document macro security options. |
| StepInto(Macro) | None | Step into the macro in sharp develop. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| MacroManager | MacroManager | The DB macro manager. |