RVTDocs.com

DesignToFabricationConverter.Convert

Method
Description:
Converts the set of MEP design elements into fabrication parts.
Remarks:
After this method has been invoked, call:
Syntax
public DesignToFabricationConverterResult Convert(
	ISet<ElementId> selection,
	int serviceId
)
Parameters
Parameter Type Description
selection ISet The set of element identifiers to convert from MEP design elements to fabrication parts.
serviceId Int32 The identifier of the fabrication service.
Exceptions
Exception Condition
ArgumentException the selection contains invalid elements to convert. -or- the specified fabrication service is not valid for all domains in the selection.
ArgumentNullException A non-optional argument was null
InvalidOperationException no fabrication configuration is loaded.