IsDWGExportAvailable Method


Optional Functionality Utils Is DWGExport Available Method

Checks whether the DWG Export functionality is available in the installed Revit.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsDWGExportAvailable()

Return Value

Boolean
True if the DWG Export functionality is available in the installed Revit.
Remarks
DWG Export requires presence of certain modules that are optional and may not be part of the installed Revit.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →