DesignToFabricationConverter.Convert
Description:
Converts the set of MEP design elements into fabrication parts.
Converts the set of MEP design elements into fabrication parts.
Remarks:
After this method has been invoked, call:
After this method has been invoked, call:
- GetConvertedFabricationParts. to get a set of element identifiers for the newly created fabrication parts.
- GetElementsWithOpenConnector. to get a set of fabrication part or MEP design element identifiers with open connectors, caused by fittings failing to convert.
public DesignToFabricationConverterResult Convert(
ISet<ElementId> selection,
int serviceId
)
-
ISet<ElementId>selectionThe set of element identifiers to convert from MEP design elements to fabrication parts.
-
Int32serviceIdThe identifier of the fabrication service.
Return Value
DesignToFabricationConverterResult
-
the selection contains invalid elements to convert. -or- the specified fabrication service is not valid for all domains in the selection.
-
A non-optional argument was null
-
no fabrication configuration is loaded.