Pipe.CreatePlaceholder
Description:
Creates a new placeholder pipe.
Creates a new placeholder pipe.
-
documentThe document.
-
systemTypeIdThe ElementId of the piping system type.
-
pipeTypeIdThe ElementId of the pipe type.
-
levelIdThe level id for the pipe.
-
startPointThe first point of the placeholder line.
-
endPointThe second point of the placeholder line.
Return Value
The placeholder pipe.
The placeholder pipe.
-
The systemTypeId is not valid piping system type. -or- The pipe type pipeTypeId is not valid pipe type. -or- The ElementId levelId is not a Level. -or- The points of startPoint and endPoint are too close: for MEPCurve, the minimum length is 1/10 inch.
-
A non-optional argument was null
-
None of the following disciplines is enabled: Mechanical Electrical Piping.