RVTDocs.com

ApplicationEntryPoint.AddinFolder

Property
Description:
The full path to the Revit Macros module.
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.
Syntax
public string AddinFolder { get; }