Skip to content

MacroManager

Public Class

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

The count.


Public Property

The modules folder.


Public Property

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

Adds a MacroModule to the application.


Public Method

Indicates the given module is a member of this collection.


Public Method

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

Gets the application macro security options.


Protected Method

Returns an enumerator that iterates through a collection.


Public Method

Returns an enumerator that iterates through a collection.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method
Static Member

Gets the Macro manager from the application.


Public Method

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

Removes a MacroModule.


Public Method
Static Member

Sets the application macro security options.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)