additional info on RowCommandInput

additional info on RowCommandInput

Anonymous
Not applicable
661 Views
2 Replies
Message 1 of 3

additional info on RowCommandInput

Anonymous
Not applicable

Trying to put together a quick interface. Starting with Command Inputs API Sample API Sample Example.

I am trying to implement RowCommandInput.

# Create single selectable button row input
            buttonRowInput = tab1ChildInputs.addButtonRowCommandInput(commandId + '_buttonRow', 'Button Row', False)
            buttonRowInput.listItems.add('Item 1', False, 'resources')
            buttonRowInput.listItems.add('Item 2', False, 'resources')

I was able to search documentation for  addButtonRowCommandInput method and figure out the parameters we are passing in. However, I can't find information on the list items and what gets passed with the add method. Is there a handy python way to figure this out or additional online documentation that someone can point to.

 

Thank you.  

0 Likes
Accepted solutions (1)
662 Views
2 Replies
Replies (2)
Message 2 of 3

marshaltu
Autodesk
Autodesk

Hello,

 

Please refer to the following link for the help of ListItems.add.

 

http://fusion360.autodesk.com/learning/learning.html?guid=GUID-36B1FFB5-5291-4532-8F11-90E912769B34

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
0 Likes
Message 3 of 3

marshaltu
Autodesk
Autodesk
Accepted solution

It seems that the link will direct to home page of API help.

 

Please browse to listItems by Programming Interface -> Fusion 360 API Reference Manual -> Objects -> ListItems.

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>