RVTDocs.com
Namespace: Autodesk.Revit.DB.Plumbing Class: Pipe

Pipe.IsPipeTypeId

Method
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.
Syntax
public static bool IsPipeTypeId(
	Document document,
	ElementId pipeTypeId
)
Parameters
Parameter Type Description
document Document The document.
pipeTypeId ElementId ElementId of the pipe type to check.
Return Value
Type Description
Boolean True if pipe type can used for this pipe, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null