Is there a way to get a relative path to the parent of an object. By parent, I do not mean the parent “network container”. I mean the node connected to Input 0.
For example, inside a CHOP Network, which is inside an SOP, I have an Object node. I want the Reference Object parm to point to the SOP object's parent.
Let's say the parent name is “Null”. The relative path is “../../../Null”. However, I do not want to hardcode “Null”. I would like this to be dynamic.
Is there a way to do this?
Thanks in advance
