FabricationPart.StretchAndFit
Description:
Stretch the fabrication part from the specified connector and fit to the target routing end.
Stretch the fabrication part from the specified connector and fit to the target routing end.
Remarks:
Cannot stretch and fit fabrication part straight, tap or hanger.
Cannot stretch and fit fabrication part straight, tap or hanger.
public static FabricationPartFitResult StretchAndFit(
Document document,
Connector stretchConnector,
FabricationPartRouteEnd target,
out ISet<ElementId> newPartIds
)
-
documentThe document in which to perform the stretch and fit.
-
stretchConnectorThe connector of the fabrication part to be stretched.
-
targetThe target routing end to align and fit to.
-
ISet<ElementId>%newPartIdsNew fabrication part element identifiers.
-
Connector does not belong to a fabrication part with a valid fabrication service. -or- Connector is connected. -or- Connector belongs to a fabrication part straight, tap, or hanger. -or- Routing end is valid to route to. -or- stretch target end type must be a supported type.
-
A non-optional argument was null
-
fabrication part is not connected at one end only. -or- cannot stretch fabrication part to a different service.