$CH in python

   2717   3   2
User Avatar
Member
401 posts
Joined:
Offline
Is there a python version of $CH?
Like hou.pwd().currentChannel?
right now I am using
hou.expandString('$CH')
which feels a little bit clumpsy.

Thanks,

Georg
this is not a science fair.
User Avatar
Member
536 posts
Joined: 7月 2009
Offline
still no fix on this…
User Avatar
Member
7762 posts
Joined: 9月 2011
Offline
hou.evaluatingParm() returns the currently evaluating parm object.
The equivalent to $CH would be hou.evaluatingParm().name() for just the name of the parm.
User Avatar
Member
536 posts
Joined: 7月 2009
Offline
Thanks Jonathan,
-Ben
  • Quick Links