ValueCommandInput.isValidExpression Property

Parent Object: ValueCommandInput
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/ValueCommandInput.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

"valueCommandInput_var" is a variable referencing a ValueCommandInput object.

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

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

Property Value

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

Version

Introduced in version November 2016