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

   6498   2   0
User Avatar
Member
644 posts
Joined: 6月 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
644 posts
Joined: 6月 2006
Offline
solved….

one beer and the problem was solved :-)

hou.pwd().parm(“wantedParameterValue”).eval()
User Avatar
Member
6 posts
Joined: 7月 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