Revit 2025 API
PipeIs |
Checks if given type is valid pipe type.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static bool IsPipeTypeId( Document document, ElementId pipeTypeId )
Public Shared Function IsPipeTypeId ( document As Document, pipeTypeId As ElementId ) As Boolean
public: static bool IsPipeTypeId( Document^ document, ElementId^ pipeTypeId )
static member IsPipeTypeId : document : Document * pipeTypeId : ElementId -> bool
Parameters
Return Value
BooleanTrue if pipe type can used for this pipe, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
A type is valid for pipe if it can be used to the pipe element.
See Also