set Active folder in the parameter view from python

   840   0   0
User Avatar
Member
11 posts
Joined: May 2017
Offline
Hi there

I have a problem with the parameter menu.
I use node.setParmTemplateGroup(parmGrp) to update the parameter view with a new parameter.
The new parameter is inserted after another parameter (using insertAfter()) which is nested in a folder(that is part of folder tab)and it works fine.
The problem is that when the ParmTemplateGroup is set back to my node the UI switches to the first tab, away from the folder-tab with newly added parameter.

Does anyone know how to force the parameter menu to show a specific folder? isActiveFolder() only lets me check if a folder is currently active.

Cheers
Jacob
  • Quick Links