NonContinuousRailStructure.IsValidNonContinuousRailProfile
Method
Description:
Checks whether the input id represents a profile which can be used as the profile of this non-continuous rail.
Checks whether the input id represents a profile which can be used as the profile of this non-continuous rail.
Remarks:
InvalidElementId is considered a valid NonContinuousRail profile (the default profile).
InvalidElementId is considered a valid NonContinuousRail profile (the default profile).
Parameters
Parameter | Type | Description |
---|---|---|
profileId | ElementId | The profile Id to be checked. |
Return Value
Type | Description |
---|---|
Boolean | True if the ElementId refers to a valid NonContinuousRail profile, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |