ControlDefinition.name Property

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

Description

Gets or sets the name for this control. This is the visible name displayed in the user interface.

Syntax

"controlDefinition_var" is a variable referencing a ControlDefinition object.

# Get the value of the property.
propertyValue = controlDefinition_var.name

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

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

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

Property Value

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

Version

Introduced in version August 2014