say this is the python code on a hdaModule:
def outTest():
thisNode = hou.pwd()
myParm = thisNode.parm('aParm')
return myParm
calling this from a string parameter on the node by
`pythonexprs(“hou.node('.').hdaModule().outTest()”)`
gives me the expected output:
<hou.Parm ele in /out/myHDA>
but when calling it from another nodes attribute or hdaModule in another directory I get “none”
If I want to output the value of “thisNode” it behaves as expected.
How do I fix this?
My guess is that thisNode is a relative path and can't find “myHDA” when it's under another parent but I haven't found a way to test this.