DWGExportOptions.GetPredefinedOptions
Method
Description:
Returns an instance DWGExportOptions containing settings from a predefined export setup.
Returns an instance DWGExportOptions containing settings from a predefined export setup.
Parameters
Parameter | Type | Description |
---|---|---|
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
Type | Description |
---|---|
DWGExportOptions | An instance of predefined DWGExportOptions, or if the name was not found. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | document is not a project document. |
ArgumentNullException | A non-optional argument was null |