Certain Modifier ON/OFF

13 votes
Version: 
V 1.3
Date Updated: 
11/09/2009
Author Name: 
anas mansour

I can describe it as a good handy script for choosing a certain modifier in all the scene - in any scene node - and turn it on and off easily,

i really searched for this specific script and i couldn't find it.

i use it alot myself as i work in animation to turn on and off "flex" modifier because when you grab the time slide back when its "ON" especially in a big scene it takes alot of time.

You can use it with any other modifier such as turbosmooth ,etc.

sadly the modifier name must be identical in all nodes to have this script work.

if any one could help me enhance it please do.

Version Requirement: 
3ds max 8 and 2009 -- mostly will work under all versions --
Video URL: 
AttachmentSize
any_modifier_ON_OF V 1.3.mcr948 bytes

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jordan Walsh's picture

@Marci: True, the less

@Marci:

True, the less clicks the better :) (btw, most of the functionality is in the right click menus)

Marci's picture

@animatoo: drag the mcr

@animatoo:

drag the mcr script-file into the max viewport...i thought its the fastest way to initialize a script (?)

@jordan walsh:

tried your script some weeks ago. maybe wasnt intuitive enough or too complex, but i failed. will give it a try in further projects.

sometimes simplicity beats multifunctionality ;)

anaStudio's picture

thanx all for

thanx all for comments,

@Anubis
"i'll try it ,first time i hear about this "state" thing, i'm new here in scripting i work basically as a 3d artist but i needed a certain script to do thing that might help me improve my work and reduce the time -in fact now all my time at work is consumed in learning new script methods D:-"
@ marci
"thanx for interest,i'll test yours..-sorry drag what in the viewport,i can't get it!!-"

@ Jordan Walsh
"i saw your script before!!but the name didn't mentioned - at least for my poor english - that this is the purpose of this modifier -and by the way i started it as a toggle but in flex modifier for the same purpose D:-"

fajar
"i'll try it,though i'm sure its better than mine"

A muslim Egyptian 3D artist,cartoonist

fajar's picture

I'll say jordan walsh script

I'll say jordan walsh script is still the best at it.

Jordan Walsh's picture

Just to let you know, I have

Just to let you know, I have made a script for that purpose. Well it started off as a toggle for meshsmooths being off in viewport but grew a lot!!

http://www.scriptspot.com/3ds-max/modifier-modifier-zorb

Marci's picture

nice script. searched for a

nice script.

searched for a global ON/OFF modifier state function. decided to extend your script. now there are three buttons "toggle","global on","global off" =)

greetz from germany!

PS: drag it into the viewport and you'll find a new category "Thinking-Twins" under customization properties.

AttachmentSize
Modifier_Toggle_ON_OFF_v0.9.mcr 1.61 KB
Anubis's picture

The script is ok, but if you

The script is ok, but if you wish some ideas - there is some trick by using "not state" to swap true/false value:

on switch pressed do
(
	mn = modifier_name.text
	affected = for g in geometry where
		g.modifiers [mn] != undifined collect g
	for i in affected do
	(
		state = i.modifiers[mn].enabled
		i.modifiers[mn].enabled = not state
	)
)

my recent MAXScripts RSS (archive here)

anaStudio's picture

try it and tell me your

try it and tell me your opinion

A muslim Egyptian 3D artist,cartoonist

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.