Revert Parameter Interface by script

   1631   1   0
User Avatar
Member
3 posts
Joined: May 2016
Offline
Hi.

Can we do a ‘Revert Parameter Interface’ in Python?





Thanks
Patrick

Attachments:
revert_parameter_interface.jpg (23.4 KB)

User Avatar
Member
8 posts
Joined: Jan. 2017
Offline
For anyone else trying to find a way to do this and just coming across this thread. You can just get the parmTemplateGroup from the node's type definition and set the instance of the node to match:

ptg = node.type().parmTemplateGroup() 
node.setParmTemplateGroup(ptg)
  • Quick Links