Pipe.IsPipeTypeId
Method
Description:
Checks if given type is valid pipe type.
Checks if given type is valid pipe type.
Remarks:
A type is valid for pipe if it can be used to the pipe element.
A type is valid for pipe if it can be used to the pipe element.
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 |