Search the Community
Showing results for tags 'hou.pwd()'.
Found 1 result
i am doing an otl and i want to get its path when i put down the node to grab some parms. the idea is once its been drop in the network editor, will read if there is a camera node, if there is one, put that camera in the otl path parm. in the script tab i am doing a "on created" i am doing print hou.pwd() but once i TAB select the otl and drop it, it print "obj" and not the actual node. if i put a spare parm button that print hou.pwd() it does print the node correctly. is there something special on created that i need to know? or a diferent type of code? Thanks guys.