IsValidValue Method


Asset Property Distance Is Valid Value Method

Checks that the value is a valid value for this property.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsValidValue(
	double value
)

Parameters

value Double
The value to be checked.

Return Value

Boolean
True if the value is valid for the property.
Exceptions
Exception Condition
InvalidOperationException Cannot check validity for a property not being edited in AppearanceAssetEditScope.
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 →