Notifications
Clear all

[Closed] life saving script

Hi all,

I have a problem that i have already exposed in general topic but no one really replied me…
so here’s the problem:

I have an entire model that due to conversion limitations got all the objects in it smoothed by 1.
so basically i need to make a script that converts them all to no smoothing group.

i tried this: ctrl+A and object properties, then user defined i typed smooth=0

obviouslly it didn’t worked so…

i kind of hoped some of you could help me…

thx

3 Replies
 j83

Do you mean make everything faceted? If so, here’s a script to do just that, just select your objects and run this script.


   for o in selection do
   (
   	addModifier o (smooth ()) ui:on
   )
   

So you can “evaluate” that as a new script (paste in script editor, then press Ctrl+E) or you can paste this in the small pink box on the lower left hand of the Max viewport,

for o in selection do addModifier o (smooth ()) ui:on

The “non-script” way would be just to select all of the objects, add the Smooth modifier, and by default it clears all smoothing groups.

Why not to select manually absolutly all aobjects and manually add a smooth modifier?

Cheers.

there’s a saying in my country and it goes like this:

“quem não sabe é como quem não vê” (Portugal)

translated it’s: “the one who doesn’t knows resembles to the one that doesn’t see’s”

thanks to both of you!

i was considering starting to investigate some of the features in Max Script… maybe this is a good starting point.