Share

StringValueCommandInput.isReadOnly Property

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

Description

Gets and sets if the string value is read-only or not. If it is read-only the user cannot edit the text. This property is initialized to False for a newly created StringValueCommandInput object.

Syntax

"stringValueCommandInput_var" is a variable referencing a StringValueCommandInput object.

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

# Set the value of the property.
stringValueCommandInput_var.isReadOnly = propertyValue

Property Value

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

Version

Introduced in version September 2016

Was this information helpful?