GetPredefinedOptions Method


DXFExport Options Get Predefined Options Method

Returns an instance DXFExportOptions containing settings from a predefined export setup.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static DXFExportOptions GetPredefinedOptions(
	Document document,
	string setup
)

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

DXFExportOptions
An instance of predefined DXFExportOptions, or if the name was not found.
Exceptions
Exception Condition
ArgumentException document is not a project document.
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →