How to read the help of the parm with python?

   1384   2   0
User Avatar
Member
7 posts
Joined: May 2023
Offline
Hi there.

I want to make a pypanel for a node and I need to show the same tool tips that parameters on the original houdini UI have.
I can't find anywhere how to read a help string from the given parm.
Is it even possible?
Thanks.
Alex Sknarin
Lighting Technical Supervisor
DNEG
User Avatar
Member
326 posts
Joined: Jan. 2013
Offline
I don't know for what reason the hou.Parm type doesn't have the ability to call the help() method, but it can be called on the hou.ParmTuple type.

hou.parm("...").tuple().help()
User Avatar
Member
6 posts
Joined: Sept. 2021
Offline
For thoese who find this question, if you cannot get the help string by hou.parm("...").tuple().help(), try to use parm.tuple().parmTemplate().help().
Because the help string is stored in parameter template of the original parm.
  • Quick Links