so, for instance, every time my toggle widget is clicked, the B Folder becomes the selected one:
python set current tab
2454 3 1-
- ivan
- Member
- 84 posts
- Joined: 7月 2005
- オフライン
-
- elovikov
- Member
- 146 posts
- Joined: 6月 2019
- オンライン
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
- 84 posts
- Joined: 7月 2005
- オフライン
-
- jim707jim707jim
- Member
- 3 posts
- Joined: 5月 2018
- オフライン
elovikov
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:node.parmTuple("tabs").set((2,)) # exactly like this to pass tuple with one element
thank you very much
u saved me after two days searching python classes and methods! bless u
-
- Quick Links