If I make an HDA with a row of tab folders, is there a way in python to set which tab is currently selected for editing?
so, for instance, every time my toggle widget is clicked, the B Folder becomes the selected one:
python set current tab
1439 2 0- ivan
- Member
- 83 posts
- Joined: 7月 2005
- Offline
- elovikov
- Member
- 122 posts
- Joined: 6月 2019
- Offline
This one is interesting
So, your first tab is also an implicit parameter, but accessible only by parmTuple. If you set this parameter you can control focus.
Basically, let's say the name of your "A folder" is "tabs" (and you can only change parameter name on the first tab).
Then to control focus you should do something like this:
So, your first tab is also an implicit parameter, but accessible only by parmTuple. If you set this parameter you can control focus.
Basically, let's say the name of your "A folder" is "tabs" (and you can only change parameter name on the first tab).
Then to control focus you should do something like this:
node.parmTuple("tabs").set((2,)) # exactly like this to pass tuple with one element
- ivan
- Member
- 83 posts
- Joined: 7月 2005
- Offline
-
- Quick Links