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

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