MacroManager Class

Manager object for the Macro modules of the application.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.MacrosMacroManager

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

The MacroManager type exposes the following members.

Properties
 NameDescription
Public propertyCount The count.
Public propertyFolder The modules folder.
Public propertyIsEnabled Indicates if macros stored in this MacroManager are enabled.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodAddModule Adds a MacroModule to the application.
Public methodContains Indicates the given module is a member of this collection.
Public methodDisposeReleases all resources used by the MacroManager
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetApplicationMacroSecurityOptions Gets the application macro security options.
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 methodStatic memberGetMacroManager Gets the Macro manager from the application.
Public methodGetMacroManagerIterator Returns a Macro manager iterator that iterates through the collection.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRemoveModule Removes a MacroModule.
Public methodStatic memberSetApplicationMacroSecurityOptions Sets the application macro security options.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also