MacroModule
Description:
A container for individual macros. As it relates to the macros editor, one MacroModule represents a project that can be loaded and edited from within the editor.
A container for individual macros. As it relates to the macros editor, one MacroModule represents a project that can be loaded and edited from within the editor.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Macros.MacroModule
System.Object
Autodesk.Revit.DB.Macros.MacroModule
public class MacroModule : IEnumerable<Macro>,
IDisposable
| Name | Return Type | Description |
|---|---|---|
| AddMacro(String, String, String) | The new macro. | Adds a macro to the module. |
| Dispose() | None | Releases all resources used by the |
| GetBasicIEnumerator() | IEnumerator | Returns an enumerator that iterates through a collection. |
| GetEnumerator() | IEnumerator<Macro> | Returns an enumerator that iterates through a collection. |
| GetMacro(String) | The macro. | Gets the macro with the give name. |
| GetMacroModuleIterator() | MacroModuleIterator | Returns a Macro module iterator that iterates through the collection. |
| RemoveMacro(Macro) | None | Removes a macro from the module. |
| Name | Return Type | Description |
|---|---|---|
| Description | string | The module description. |
| Environment | MacroEnvironment | The Macro environment. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| MacroLanguageType | MacroLanguageType | The Macro language type. |
| MacroLevel | MacroLevel | The Macro level. |
| MacroManager | MacroManager | The Macro manager. |
| ModuleStatus | ModuleStatus | The module status. |
| Name | string | The name of the module. |