Save fabrication parts to an MEP job that can be opened in the fabrication software.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static ISet<ElementId> SaveAsFabricationJob(
Document document,
ISet<ElementId> ids,
string filename,
FabricationSaveJobOptions saveOptions
)
Parameters
- document Document
-
The document.
- ids ISet<ElementId>
-
List of element Ids of fabrication parts or assemblies and group elements that contain fabrication parts to save. Non-fabrication part elements will be ignored.
- filename String
-
The full path and filename of the fabrication job to save.
- saveOptions FabricationSaveJobOptions
-
Options for the save operation.
Return Value
ISet<ElementId>
Returns a list of fabrication part element Ids that were saved to the fabrication job.
Exceptions
Remarks
Only fabrication MAJ files are supported.
See Also
Reference