how to get the Value from the Parameter in a HDA PythonModul

   5826   2   0
User Avatar
Member
637 posts
Joined: June 2006
Offline
sorry for this question

i have started this morning to learn a bit of python and i have got some troubles with HDA and pythonmodule.

what i want to do:
i have a HDA with a pythonmodule Function. this Function should access a custom Value in the Parameter Interface. how can i get the value?

i have used kwargs but in the meantime its now aaarrrggghhhh :-)
User Avatar
Member
637 posts
Joined: June 2006
Offline
solved….

one beer and the problem was solved :-)

hou.pwd().parm(“wantedParameterValue”).eval()
User Avatar
Member
6 posts
Joined: July 2022
Offline
mandrake0
solved....

one beer and the problem was solved :-)

hou.pwd().parm("wantedParameterValue").eval()
how to get HDA's parm value in a loop? say i have a grid node inside a HDA with a dynamic chaning sizeX in a for loop. is there any way i could get the sizeX value on each iterations?
  • Quick Links