RVTDocs.com

BaseExportOptions.GetPredefinedSetupNames

Method
Description:
Returns a list of names of predefined setups of export options.
Remarks:
The predefined setups may be used for export to both DWG and DXF formats. To get predefined options in the desired format use the static method getPredefinedOptions defined in DWGExportOptions or DXFExportOptions respectively.
Syntax
public static IList<string> GetPredefinedSetupNames(
	Document document
)
Parameters
Parameter Type Description
document Document A Revit document to retrieve names from.
Return Value
Type Description
IList An array of strings representing names of predefined setups.
Exceptions
Exception Condition
ArgumentException document is not a project document.
ArgumentNullException A non-optional argument was null