FlexDuct.IsFlexDuctTypeId
Method
Description:
Checks if given type is valid flexible duct type.
Checks if given type is valid flexible duct type.
Remarks:
A type is valid for flexible duct if it can be used to the flexible duct element.
A type is valid for flexible duct if it can be used to the flexible duct element.
Parameters
| Parameter | Type | Description |
|---|---|---|
| document | Document | The document. |
| ductTypeId | ElementId | ElementId of the flexible duct type to check. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if flexible duct type can used for this duct, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |