| Revit Preview Release API |
| FabricationUtils..::..ExportToPCF Method |
| FabricationUtils Class See Also |
Exports a list of fabrication parts into PCF format.
Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2018
Syntax
| C# |
|---|
public static void ExportToPCF( Document document, IList<ElementId> ids, string filename ) |
| Visual Basic |
|---|
Public Shared Sub ExportToPCF ( _ document As Document, _ ids As IList(Of ElementId), _ filename As String _ ) |
| Visual C++ |
|---|
public: static void ExportToPCF( Document^ document, IList<ElementId^>^ ids, String^ filename ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document.
- ids
- Type: System.Collections.Generic..::..IList<(Of <(<'ElementId>)>)>
An array of FabricationPart element identifiers. Non-fabrication parts are ignored.
- filename
- Type: System..::..String
The name given to the output file.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | Fabrication configuration is missing. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |