Help scripting parenting please
I'm trying to script a parenting function within a larger script but having trouble.
I've found that when the names are predetermined this works fine:
$.parent = $Sphere001_ROOT
(Sphere001 is Selected, Sphere001_Root is a point helper)
However the names change from object to object. What I'm hoping to get working is proper syntax for the following:
tempobj = $
--start object is collected at start when object is selected
tempdummy = $
--dummy object is collected at when dummy is created
tempobj.parent = tempdummy
I guess the basic form of the question is how to parent objects without using the object name.
Any help would be appreciated.