accessing radio button with python script

   2386   1   1
User Avatar
Member
9 posts
Joined: July 2013
Offline
Hello

I'm creating “add” nodes with python script and setting their parameters. I need to enable the “By Group” radio button but unfortunatly I cant find how.

I'm trying:
node.parm(“switcher3_1”).set(1)
“switcher3_1” is the name of the radio button shown in the parameter interface.

Anyone knows how I can access it correctly?

Thx
User Avatar
Member
9 posts
Joined: July 2013
Offline
found it!
I used .asCode() function to display all parameters of that node. The real parm name was in fact “switcher1”.
  • Quick Links