ScriptSpot

Forum topic · Scripts Wanted

collapse to script needed

By -S-A- · 2009-10-21

Description

i need a script that collapse to all the selected objects
there is collapse toll in 3ds max but for some reason its not working right
i need the script to do like i would do- go to modifier tab>right click>collapse to>yes

can some1 please make that script for me?

Comments (7)

Garp · 2010-10-19

collapseStack $

a hint

Anubis · 2010-10-22

Quote from the help:
"collapseStack() does not collapse the effect of any world space modifiers (including bindings to Space Warps)."

The mxs-help suggest to use snapshot() method but CollapseNodeTo is better ;)

Nafetsu · 2010-10-03

Late answer, but...

as i was looking for it too and try successfully this :

colselect = selection as array
for i in colselect do maxOps.CollapseNodeTo i 1 true

I thought it may be useful ;°)
Cheers

Anton Berg · 2009-11-03

You could use "snapshot" if you would like to collapse the WSM. But that turns it into a Mesh... which isn't ideal every time.

It does NOT collapse many objects to one mesh though... it just collapses the WSM.

Kstudio · 2009-10-22

World space modifiers can not be collapsed!

-S-A- · 2009-10-22

ty but its not working well
i have lets say 5 boxes with camera map (wsm)
when i select the all 5 and run the script (i did ctrl+k)
it convert the boxes to editable poly but they still have the camera map (wsm) attached

and when i go box by box and ctrl+k it makes it to editable mesh without any thing attached but i have to do it 1 by 1