RVTDocs.com

FabricationNetworkChangeService.ChangeService(ISet<ElementId>, Int32, Int32)

Method
Description:
Changes the service of the selection of fabrication parts.
Remarks:
After this method has been invoked, call:
Syntax
public FabricationNetworkChangeServiceResult ChangeService(
	ISet<ElementId> selection,
	int serviceId,
	int paletteId
)
Parameters
Parameter Type Description
selection ISet The set of element identifiers of fabrication parts to change the service for.
serviceId Int32 The identifier of the fabrication service.
paletteId Int32 The identifier of the fabrication palette.
Exceptions
Exception Condition
ArgumentException The selection contains invalid elements to change.
ArgumentNullException A non-optional argument was null
InvalidOperationException No fabrication configuration is loaded.