I am trying to execute a pdg graph from a external process. I do something like this…
hou.node("/obj/topnet1/ropgeometry1").parm('sopoutput').set(geopath) hou.node("/obj/topnet1/").dirtyAllTasks(False) hou.node("/obj/topnet1/").executeGraph(False, True, True, True) hou.node("/obj/topnet1/ropgeometry1").getPDGGraphContext().cook(True)
This code runs several times with different geopath values. It works well.
However, once geopath is changed in the external process, and the graph is executed again, it'll still save to the location that was given the very first time. So, I assume I am not getting something here or the parm values are cached somewhere. Any help would be much appreciated.
Thanks,