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: 

TableCommandInput.minimumVisibleRows Property

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
frederico.klein
296 Views, 2 Replies

TableCommandInput.minimumVisibleRows Property

So I am playing around with tables and I want to change how a table looks like, but I can't seem to set this value to more than 4.

Am I missing something?

My code is super simple, but in case anyone is wondering, what I am doing is:

tabCmdInput3 = inputs.addTabCommandInput('tab_1', 'Add Link')

#tabCmdInput3.

tab3ChildInputs = tabCmdInput3.children
 
# Create table input

tableInput = tab3ChildInputs.addTableCommandInput('table', 'Table',4,'1:3:2:1')

tableInput.minimumVisibleRows = 4

## any number larger than 4 will fail.
Tags (2)
2 REPLIES 2
Message 2 of 3
goyals
in reply to: frederico.klein

Set first maximumVisibleRows to a number more than 4 before setting minimumVisibleRows.



Shyam Goyal
Sr. Software Dev. Manager
Message 3 of 3
frederico.klein
in reply to: goyals

Solved it, Thanks!

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