Returns an instance DWGExportOptions containing settings from a predefined export setup.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static DWGExportOptions 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
DWGExportOptionsAn instance of predefined DWGExportOptions, or null if the name was not found.
Exceptions
Exception | Condition |
---|---|
ArgumentException | document is not a project document. |
ArgumentNullException | A non-optional argument was null |