MacroManager Members


The MacroManager type exposes the following members.

Methods

Name Description
Public method AddModule
Adds a MacroModule to the application or document.
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 Static member GetDocumentMacroSecurityOptions
Gets the document macro security options.
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method Static member GetMacroManager(Application)
Gets the Macro manager from the application.
Public method Static member GetMacroManager(Document)
Gets the Macro manager from the document.
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 from the application or document.
Public method Static member SetApplicationMacroSecurityOptions
Sets the application macro security options.
Public method Static member SetDocumentMacroSecurityOptions
Sets the document macro security options.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property Count
The count.
Public property Folder
The modules folder. The path for document macros will not persist except while the document is loaded in this session.
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.
Public property MacroLevel
The Macro level.

See Also