MacroManager
Manager object for the Macro modules of the application.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Macros.MacroManager
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
Name
Description
Public Property
Count
The count.
Public Property
Folder
The modules folder.
Public Property
IsEnabled
Indicates if macros stored in this MacroManager are enabled.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
AddModule
Adds a MacroModule to the application.
Public Method
Contains
Indicates the given module is a member of this collection.
Public Method
Dispose
Releases all resources used by the MacroManager
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
Static Member
GetApplicationMacroSecurityOptions
Gets the application macro security options.
Protected Method
GetBasicIEnumerator
Returns an enumerator that iterates through a collection.
Public Method
GetEnumerator
Returns an enumerator that iterates through a collection.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
Static Member
GetMacroManager
Gets the Macro manager from the application.
Public Method
GetMacroManagerIterator
Returns a Macro manager iterator that iterates through the collection.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
RemoveModule
Removes a MacroModule.
Public Method
Static Member
SetApplicationMacroSecurityOptions
Sets the application macro security options.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)