This sample uses the ported classes IFCExportConfigurationsMap and IFCExportConfiguration from v25.4.0 of Autodesk revit-ifc open source addin to support exporting IFC with the export settings created ...
If you've encountered the Revit API exception "Cannot execute Revit API outside of Revit API context"—often when running code from a modeless window—this library may help. A typical solution is to ...