Revit 2025.3 API
DGNExport |
Returns an instance DGNExportOptions containing settings from a predefined export setup.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static DGNExportOptions GetPredefinedOptions( Document document, string setup )
Public Shared Function GetPredefinedOptions ( document As Document, setup As String ) As DGNExportOptions
public: static DGNExportOptions^ GetPredefinedOptions( Document^ document, String^ setup )
static member GetPredefinedOptions : document : Document * setup : string -> DGNExportOptions
Parameters
- document Document
- A Revit project document to retrieve the setup from.
- setup String
- The name of a predefined export setup from the specified document.
Return Value
DGNExportOptionsAn instance of predefined DGNExportOptions, or if the name was not found.

Exception | Condition |
---|---|
ArgumentException | document is not a project document. |
ArgumentNullException | A non-optional argument was null |
See Also