Skip to content

MacroModule

Public Class

A container for individual macros. As it relates to the macros editor, one MacroModule represents a project that can be loaded and edited from within the editor.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Macros.MacroModule

Namespace: Autodesk.Revit.DB.Macros

Assembly: RevitAPIMacros (in RevitAPIMacros.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class MacroModule : IEnumerable<Macro>,
IDisposable

The MacroModule type exposes the following members.

Properties

Name

Description


Public Property

The Macro environment.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The Macro language type.


Public Property

The Macro manager.


Public Property

The module folder.


Public Property

The module status.


Public Property

The name of the module.


Methods

Name

Description


Public Method

Releases all resources used by the MacroModule


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


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

Gets the macro with the give name.


Public Method

Returns a Macro module iterator that iterates through the collection.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

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