DirectionCommandInput.resourceFolder Property

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

Description

Gets and sets the folder that contains the icon to display on the button. The input is shown as a check box if the resource folder is set to an empty string. Icons can be defined using either PNG or SVG files. More information about icons can be found in the user manual topic User Interface Customization.

Syntax

"directionCommandInput_var" is a variable referencing a DirectionCommandInput object.

# Get the value of the property.
propertyValue = directionCommandInput_var.resourceFolder

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

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

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

Property Value

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

Version

Introduced in version January 2016