Revit 2021.1 API |
DGNExportOptions..::..GetPredefinedSetupNames Method |
DGNExportOptions Class See Also |
Returns a list of names of predefined setups of DGN export options.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
C# |
---|
public static IList<string> GetPredefinedSetupNames( Document document ) |
Visual Basic |
---|
Public Shared Function GetPredefinedSetupNames ( _ document As Document _ ) As IList(Of String) |
Visual C++ |
---|
public: static IList<String^>^ GetPredefinedSetupNames( Document^ document ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
A Revit document to retrieve names from.
Return Value
An array of strings representing names of predefined setups.
Remarks
To get predefined options in the desired format use the static method
getPredefinedOptions defined in DGNExportOptions.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentException | document is not a project document. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |