2024 Method
Changes 0
M

PlumbingUtils.PlaceCapOnOpenEnds

Description:
Places caps on the open connectors of the pipe curve, pipe fitting or pipe accessory.
Remarks:
In order to place the cap, the cap type should be defined in the routing preferences that associates with the pipe type of the given element. If the typeId is a valid element id, it will be used to override the pipe type that associates with the pipe type of the given element.
public static void PlaceCapOnOpenEnds(
	Document document,
	ElementId elemId,
	ElementId typeId
)