Objects divider. Advice needed
Hello!
I need to divide max-file into multiple files by names of objects and groups. Script works fine with objects, but not with groups, it operates with group contents and saves each sub-object separately. I whant to save groupped objects into one file with name of group.
if (selection.count > 0) do( for obj in selection do ( CenterPivot obj obj.pivot.z = obj.min.z obj.pos = [0, 0, 0] nameofmaxfile = maxFilePath + obj.name + ".max" savenodes obj (nameofmaxfile) ) )
Comments
.
Try this:
Tools and Scripts for Autodesk 3dsMax
Thank you so much! It works
Thank you so much! It works as i whant!