AddinFolder Property


The full path to the Revit Macros module.

Namespace: Autodesk.Revit.DB.Macros
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2014

Syntax

C#
public string AddinFolder { get; }
Visual Basic
Public ReadOnly Property AddinFolder As String
	Get
Visual C++
public:
virtual property String^ AddinFolder {
	String^ get () sealed;
}

Implements

IEntryPointAddinFolder

Remarks

This path should be used instead of the .NET GetExecutingAssembly() result, because the Macros module is loaded in such a way to make that result unreliable.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →