MacroModule Class

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
SystemObject
  Autodesk.Revit.DB.MacrosMacroModule

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class MacroModule : IEnumerable<Macro>, 
	IDisposable

The MacroModule type exposes the following members.

Properties
 NameDescription
Public propertyEnvironment The Macro environment.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMacroLanguageType The Macro language type.
Public propertyMacroManager The Macro manager.
Public propertyModuleFolder The module folder.
Public propertyModuleStatus The module status.
Public propertyName The name of the module.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the MacroModule
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodGetBasicIEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetMacro Gets the macro with the give name.
Public methodGetMacroModuleIterator Returns a Macro module iterator that iterates through the collection.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also