IsValid Method


Entity Is Valid Method

Checks whether this Entity has a live Schema corresponding to it.

Namespace: Autodesk.Revit.DB.ExtensibleStorage
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsValid()

Return Value

Boolean
True if the Entity is valid.
Remarks
Invalid entities may be used as token values. E.g., setting an invalid subentity is equivalent to deleting the stored one.
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 →