2027 Method
Changes 0
M

FabricationPart.SaveAsFabricationJob

Description:
Save fabrication parts to an MEP job that can be opened in the fabrication software.
Remarks:
Only fabrication MAJ files are supported.
public static ISet<ElementId> SaveAsFabricationJob(
	Document document,
	ISet<ElementId> ids,
	string filename,
	FabricationSaveJobOptions saveOptions
)
  • document
    The document.
  • ISet<ElementId>
    ids
    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.
  • String
    filename
    The full path and filename of the fabrication job to save.
  • saveOptions
    Options for the save operation.
Return Value ISet<ElementId> Returns a list of fabrication part element Ids that were saved to the fabrication job.