Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

TableCommandInput.minimumVisibleRows Property

Anonymous
461 Views
2 Replies
Message 1 of 3

TableCommandInput.minimumVisibleRows Property

Anonymous
Not applicable

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.
0 Likes
Accepted solutions (1)
462 Views
2 Replies
Replies (2)
Message 2 of 3

goyals
Autodesk
Autodesk
Accepted solution

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



Shyam Goyal
Sr. Software Dev. Manager
1 Like
Message 3 of 3

Anonymous
Not applicable

Solved it, Thanks!

0 Likes