2023 Class
Changes 4
C

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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Macros.MacroModule
public class MacroModule : IEnumerable<Macro>, 
	IDisposable
Name Return Type Description
M AddMacro(String, String, String) The new macro. Adds a macro to the module.
M Dispose() None Releases all resources used by the
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() IEnumerator<Macro> Returns an enumerator that iterates through a collection.
M GetMacro(String) The macro. Gets the macro with the give name.
M GetMacroModuleIterator() MacroModuleIterator Returns a Macro module iterator that iterates through the collection.
M RemoveMacro(Macro) None Removes a macro from the module.
Name Return Type Description
P Description string The module description.
P Environment MacroEnvironment The Macro environment.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P MacroLanguageType MacroLanguageType The Macro language type.
P MacroLevel MacroLevel The Macro level.
P MacroManager MacroManager The Macro manager.
P ModuleStatus ModuleStatus The module status.
P Name string The name of the module.