NonContinuousRailInfo.IsValidNonContinuousRailMaterial
Method
Description:
Checks whether an ElementId is a valid material Id of a non-continuous rail.
Checks whether an ElementId is a valid material Id of a non-continuous rail.
Parameters
Parameter | Type | Description |
---|---|---|
materialId | ElementId | The material Id to be checked. |
Return Value
Type | Description |
---|---|
Boolean | True if the ElementId refers to a valid material or it is invalidElementId, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |