FloatProperty.value Property

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

Description

Gets and sets this property value. The value of this property should be ignored if the HasConnectedTexture property is true. Setting this will remove any associated texture, if there is one.

Syntax

"floatProperty_var" is a variable referencing a FloatProperty object.

# Get the value of the property.
propertyValue = floatProperty_var.value

# Set the value of the property.
floatProperty_var.value = propertyValue
"floatProperty_var" is a variable referencing a FloatProperty object.
#include <Core/Application/FloatProperty.h>

// Get the value of the property.
double propertyValue = floatProperty_var->value();

// Set the value of the property, where value_var is a double.
bool returnValue = floatProperty_var->value(value_var);

Property Value

This is a read/write property whose value is a double.

Version

Introduced in version August 2014