CommandDefinition.resourceFolder Property
Parent Object: CommandDefinitionDefined in namespace "adsk::core" and the header file is <Core/UserInterface/CommandDefinition.h>
Description
This argument defines the resource folder that contains the images used for the command icon. 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
"commandDefinition_var" is a variable referencing a CommandDefinition object.
|
Property Value
This is a read/write property whose value is a string.Samples
Name | Description |
Customizing the UI using the API Sample | Demonstrates how to work with tabs, panels, and command in the user interface. The full source for C++ and Python samples can be downloaded. This is especially useful for getting the resource files. |