AngleValueCommandInput.hasMaximumValue Property

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

Description

Gets and sets if there is a maximum value for this command input. When setting this property, it is only valid to set it to False to remove the maximum value. Setting the maximumValue property will result in this property being set to True.

Syntax

"angleValueCommandInput_var" is a variable referencing an AngleValueCommandInput object.

# Get the value of the property.
propertyValue = angleValueCommandInput_var.hasMaximumValue

# Set the value of the property.
angleValueCommandInput_var.hasMaximumValue = propertyValue
"angleValueCommandInput_var" is a variable referencing an AngleValueCommandInput object.
#include <Core/UserInterface/AngleValueCommandInput.h>

// Get the value of the property.
boolean propertyValue = angleValueCommandInput_var->hasMaximumValue();

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

Property Value

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

Samples

Name Description
Command Inputs API Sample

Creates a command dialog that demonstrates all of the available command inputs.

To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is.

Version

Introduced in version January 2017