Revit 2025 API
Export |
Create a DWG export settings with default values.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static ExportDWGSettings Create( Document document, string name, DXFExportOptions options )
Public Shared Function Create ( document As Document, name As String, options As DXFExportOptions ) As ExportDWGSettings
public: static ExportDWGSettings^ Create( Document^ document, String^ name, DXFExportOptions^ options )
static member Create : document : Document * name : string * options : DXFExportOptions -> ExportDWGSettings
Parameters
- document Document
- Document where created settings is saved.
- name String
- The name specified to this settings.
- options DXFExportOptions
- Initialize settings by using values in DXFExportOptions.
Return Value
ExportDWGSettingsThe new DWG export settings instance.

Exception | Condition |
---|---|
ArgumentException | ExistOrEmpty |
ArgumentNullException | A non-optional argument was null |
See Also