charles-magne
09-28-2005, 12:51 PM
Hi,
I'm writing an exporter script that needs to rotate all the scene, and then export each object. I 'm doing the rotation by linking al the objects to a dummy in [0,0,0], and then rotating the dummy. At the end I rotate back and delete the dummy.
My problem is that the script destroys all the hierarchy. How can I store and recall that hierarchy ?
I could do
max hold
-- ....
max fetch #no prompt
but that's not very clean. Doing this the exporter plug-in won't remember its settings... That's almost what I want to achieve but I need to do it another way.
I'm writing an exporter script that needs to rotate all the scene, and then export each object. I 'm doing the rotation by linking al the objects to a dummy in [0,0,0], and then rotating the dummy. At the end I rotate back and delete the dummy.
My problem is that the script destroys all the hierarchy. How can I store and recall that hierarchy ?
I could do
max hold
-- ....
max fetch #no prompt
but that's not very clean. Doing this the exporter plug-in won't remember its settings... That's almost what I want to achieve but I need to do it another way.
