Changes the service of the selection of fabrication parts.
Namespace: Autodesk.Revit.DB.FabricationAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public FabricationNetworkChangeServiceResult ChangeService(
ISet<ElementId> selection,
int serviceId,
int paletteId,
bool restrictPalette
)
Parameters
- selection ISet<ElementId>
-
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.
- restrictPalette Boolean
-
Restrict the placement of parts to the passed in palette identifier.
Return Value
FabricationNetworkChangeServiceResult
Exceptions
Remarks
After this method has been invoked, call:
See Also
Reference