2021 Class
Changes 6
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
M AddModule(ModuleSettings) The new module. Adds a MacroModule to the application or document.
M Contains(MacroModule) bool Indicates the given module is a member of this collection.
M Dispose() None Releases all resources used by the
M GetApplicationMacroSecurityOptions(Application) ApplicationMacroOptions Gets the application macro security options.
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetDocumentMacroSecurityOptions(Application) DocumentMacroOptions Gets the document macro security options.
M GetEnumerator() IEnumerator<MacroModule> Returns an enumerator that iterates through a collection.
M GetMacroManagerIterator() MacroManagerIterator Returns a Macro manager iterator that iterates through the collection.
M GetMacroManager(Application) MacroManager Gets the Macro manager from the application.
M GetMacroManager(Document) MacroManager Gets the Macro manager from the document.
M RemoveModule(MacroModule) None Removes a MacroModule from the application or document.
M SetApplicationMacroSecurityOptions(Application, ApplicationMacroOptions) None Sets the application macro security options.
M SetDocumentMacroSecurityOptions(Application, DocumentMacroOptions) None Sets the document macro security options.
Name Return Type Description
P Count int The count.
P Folder string The modules folder. The path for document macros will not persist except while the document is loaded in this session.
P IsEnabled bool Indicates if macros stored in this MacroManager are enabled.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P MacroLevel MacroLevel The Macro level.