IntegerProperty.value Property

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

"integerProperty_var" is a variable referencing an IntegerProperty object.

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

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

// Get the value of the property.
integer propertyValue = integerProperty_var->value();

// Set the value of the property, where value_var is an integer.
bool returnValue = integerProperty_var->value(value_var);

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version August 2014