2027 Method
Changes 0
M

Pipe.IsPipeTypeId

Description:
Checks if given type is valid pipe type.
Remarks:
A type is valid for pipe if it can be used to the pipe element.
public static bool IsPipeTypeId(
	Document document,
	ElementId pipeTypeId
)
  • document
    The document.
  • pipeTypeId
    ElementId of the pipe type to check.
Return Value Boolean True if pipe type can used for this pipe, false otherwise.