ChoiceProperty.name Property

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

Description

Returns the name of this property as seen in the user interface. This name is localized and can change based on the current language

Syntax

"choiceProperty_var" is a variable referencing a ChoiceProperty object.

# Get the value of the property.
propertyValue = choiceProperty_var.name
"choiceProperty_var" is a variable referencing a ChoiceProperty object.
#include <Core/Application/ChoiceProperty.h>

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

Property Value

This is a read only property whose value is a string.

Version

Introduced in version August 2014