is there a way to do it?
for example when a geo object is in focus with .setCurrent(True), i want the user automatically to see a specific tab, not the Transform tab, which is in focus by default.
how to change default tab focus using Python?
4138 2 1-
- whalerider
- Member
- 194 posts
- Joined:
- オフライン
-
- mark
- スタッフ
- 2675 posts
- Joined: 7月 2005
- オフライン
whalerider
is there a way to do it?
for example when a geo object is in focus with .setCurrent(True), i want the user automatically to see a specific tab, not the Transform tab, which is in focus by default.
There is a parameter associated with the folder tab, so yes. However, determining that parameter is a little tricky.
When I put down a geometry object, the parameter for the folder is ‘stdswitcher5’, so:
parm = obj.parmTuple('stdswitcher5')
parm.set( (2,) )
will display the “Render” tab.
If you always want this to be the case, then you might consider using the Tool menu and choosing “Save as Permanent Defaults”
-
- whalerider
- Member
- 194 posts
- Joined:
- オフライン
-
- Quick Links

