DistanceValueCommandInput.isValidExpression Property

Parent Object: DistanceValueCommandInput
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/DistanceValueCommandInput.h>

Description

Returns true if the current expression is valid and can be evaluated. If this is false, the value returned should be ignored because there currently is not a valid value.

Syntax

"distanceValueCommandInput_var" is a variable referencing a DistanceValueCommandInput object.

# Get the value of the property.
propertyValue = distanceValueCommandInput_var.isValidExpression
"distanceValueCommandInput_var" is a variable referencing a DistanceValueCommandInput object.
#include <Core/UserInterface/DistanceValueCommandInput.h>

// Get the value of the property.
boolean propertyValue = distanceValueCommandInput_var->isValidExpression();

Property Value

This is a read only property whose value is a boolean.

Version

Introduced in version November 2016