MacroManager Members

The MacroManager type exposes the following members.

Methods

  NameDescription
Public methodAddModule
Adds a MacroModule to the application or document.
Public methodContains
Indicates the given module is a member of this collection.
Public methodDispose
Releases all resources used by the MacroManager
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetApplicationMacroSecurityOptions
Gets the application macro security options.
Protected methodGetBasicIEnumerator
Returns an enumerator that iterates through a collection.
Public methodStatic memberGetDocumentMacroSecurityOptions
Gets the document macro security options.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetMacroManager(Application)
Gets the Macro manager from the application.
Public methodStatic memberGetMacroManager(Document)
Gets the Macro manager from the document.
Public methodGetMacroManagerIterator
Returns a Macro manager iterator that iterates through the collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDocLvlMacro
Indicates current Macro is document level
Public methodRemoveModule
Removes a MacroModule from the application or document.
Public methodStatic memberSetApplicationMacroSecurityOptions
Sets the application macro security options.
Public methodStatic memberSetDocumentMacroSecurityOptions
Sets the document macro security options.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyCount
The count.
Public propertyFolder
The modules folder. The path for document macros will not persist except while the document is loaded in this session.
Public propertyIsEnabled
Indicates if macros stored in this MacroManager are enabled.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyMacroLevel
The Macro level.

See Also