2025.3 Class
Changes 5
C

MacroManager

Description:
Manager object for the Macro modules of the application.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Macros.MacroManager
public class MacroManager : IEnumerable<MacroModule>, 
	IDisposable
Name Return Type Description Inherited From
M AddModule(ModuleSettings, IModuleMaker) MacroModule Adds a MacroModule to the application.
M Contains(MacroModule) Boolean Indicates the given module is a member of this collection.
M Dispose() None Releases all resources used by the MacroManager
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetApplicationMacroSecurityOptions(Application) ApplicationMacroOptions Gets the application macro security options.
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetEnumerator() IEnumerator<MacroModule> Returns an enumerator that iterates through a collection.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetMacroManager(Application) MacroManager Gets the Macro manager from the application.
M GetMacroManagerIterator() MacroManagerIterator Returns a Macro manager iterator that iterates through the collection.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M RemoveModule(MacroModule) None Removes a MacroModule.
M SetApplicationMacroSecurityOptions(Application, ApplicationMacroOptions) None Sets the application macro security options.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Count int The count.
P Folder string The modules folder.
P IsEnabled bool Indicates if macros stored in this MacroManager are enabled.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.