IsValidNonContinuousRailMaterial Method


Non Continuous Rail Info Is Valid Non Continuous Rail Material Method

Checks whether an ElementId is a valid material Id of a non-continuous rail.

Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsValidNonContinuousRailMaterial(
	ElementId materialId
)

Parameters

materialId ElementId
The material Id to be checked.

Return Value

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
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →