FabricationPart.SaveAsFabricationJob
Description:
Save fabrication parts to an MEP job that can be opened in the fabrication software.
Save fabrication parts to an MEP job that can be opened in the fabrication software.
Remarks:
Only fabrication MAJ files are supported.
Only fabrication MAJ files are supported.
public static ISet<ElementId> SaveAsFabricationJob(
Document document,
ISet<ElementId> ids,
string filename,
FabricationSaveJobOptions saveOptions
)
-
documentThe document.
-
ISet<ElementId>idsList of element Ids of fabrication parts or assemblies and group elements that contain fabrication parts to save. Non-fabrication part elements will be ignored.
-
StringfilenameThe full path and filename of the fabrication job to save.
-
saveOptionsOptions for the save operation.
Return Value
ISet<ElementId>
Returns a list of fabrication part element Ids that were saved to the fabrication job.
-
Fabrication configuration is missing.
-
A non-optional argument was null
-
the path to the filename must already exist and be writeable
-
The destination file name includes one or more invalid characters.