Revit 2026 API
Asset |
Checks that the value is a valid value for this property.
Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool IsValidValue( XYZ xyz )
Public Function IsValidValue ( xyz As XYZ ) As Boolean
public: bool IsValidValue( XYZ^ xyz )
member IsValidValue : xyz : XYZ -> bool
Parameters
- xyz XYZ
- The value to be checked.
Return Value
BooleanTrue if the value is valid for the property.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | Cannot check validity for a property not being edited in AppearanceAssetEditScope. |
See Also