ValueInput.booleanValue Property

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

Description

Gets the boolean value, if there is one. Returns false AND GetLastError returns ValueNotOfType if there is no boolean value. You can use the valueType property to determine which value type is currently used.

Syntax

"valueInput_var" is a variable referencing a ValueInput object.

# Get the value of the property.
propertyValue = valueInput_var.booleanValue
"valueInput_var" is a variable referencing a ValueInput object.
#include <Core/Application/ValueInput.h>

// Get the value of the property.
boolean propertyValue = valueInput_var->booleanValue();

Property Value

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

Version

Introduced in version May 2020