I'm trying to simply eval an int from a channel in a python partitioner, but seeing as I cant do this on a python partitioner…
import hou
node = hou.pwd()
parm = node.parent('some_int').eval()
Then I'm not sure how to eval any parm/int on the parent hda. in this case pwd will just return ‘/’.
Hacky way is to set the int as an attribute, and pull it that way- but then I'm finding I have to make the partitioner dynamic in order to reliably read that attribute which is not desirable.
Thanks if anyone has a pointer for this.