Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

additional info on RowCommandInput

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Digi-D
247 Views, 2 Replies

additional info on RowCommandInput

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.  

2 REPLIES 2
Message 2 of 3
marshaltu
in reply to: Digi-D

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 360 Developer
Autodesk, Inc.

Message 3 of 3
marshaltu
in reply to: marshaltu

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 360 Developer
Autodesk, Inc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report