Parent Object: CommandInputs Defined in namespace "adsk::core" and the header file is <Core/UserInterface/CommandInputs.h>
Adds a new row of buttons as a command input. Depending on the isMultiSelectEnabled argument it can act like an option list where only a single button on the row can be selected at a time or multiple buttons can be selected. The buttons are defined by using the returned ButtonRowCommandInput object.
Returns the created ButtonRowCommandInput object or null if the creation failed.
The unique ID of this command input. It must be unique with respect to the other inputs associated with this command.
The displayed label of this command as seen in the dialog.
Sets if this button row can have multiple items selected at once or not. If True, multiple buttons can be selected at once. If False only one button can be selected and selecting another button unselects the one currently selected.
Creates a command dialog that demonstrates all of the available command inputs.
To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is.