StringValueCommandInput.value Property

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

Description

Gets or sets the value of this input.

Syntax

"stringValueCommandInput_var" is a variable referencing a StringValueCommandInput object.

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

# Set the value of the property.
stringValueCommandInput_var.value = propertyValue
"stringValueCommandInput_var" is a variable referencing a StringValueCommandInput object.
#include <Core/UserInterface/StringValueCommandInput.h>

// Get the value of the property.
string propertyValue = stringValueCommandInput_var->value();

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

Property Value

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

Samples

Name Description
Custom Event for Command Dialog Demonstrates using a custom event to process getting information in the background to display in a command dialog. This is an add-in and should be copied and pasted into an add-in project.

Version

Introduced in version August 2014