IsValid Method (Element)


Checks if the element is a valid alignment station label.

Namespace: Autodesk.Revit.DB.Infrastructure
Assembly: Autodesk.CivilAlignments.DBApplication (in Autodesk.CivilAlignments.DBApplication.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2021.1

Syntax

C#
public static bool IsValid(
	Element element
)
Visual Basic
Public Shared Function IsValid ( _
	element As Element _
) As Boolean
Visual C++
public:
static bool IsValid(
	Element^ element
)

Parameters

element
Type: Autodesk.Revit.DBElement
The element to validate.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →