arqueiro
06-16-2005, 01:11 PM
hi there !
im new on scripting...
im trying to make a plugin to insert some trees that i have stored on other file (like trees.max)
so
i read about the merg command:
fobj_names = getmaxfileobjectnames "mergetest.max" -- get the object names from the file
deleteitem fobj_names 3 -- delete the third name from the array
mergemaxfile "mergetest.max" fobj_names #select -- merge in the objects and select them
selection.count -- should be 4
objects.count -- should be 9
works well but i need to put a tree on a especific place (on a plane based on Z axis)
any help ?
im new on scripting...
im trying to make a plugin to insert some trees that i have stored on other file (like trees.max)
so
i read about the merg command:
fobj_names = getmaxfileobjectnames "mergetest.max" -- get the object names from the file
deleteitem fobj_names 3 -- delete the third name from the array
mergemaxfile "mergetest.max" fobj_names #select -- merge in the objects and select them
selection.count -- should be 4
objects.count -- should be 9
works well but i need to put a tree on a especific place (on a plane based on Z axis)
any help ?
