ScriptSpot home

Certain Modifier ON/OFF

Downloads

3ds Max compatibility
Unknown
Report a problem
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
V 1.3
Original version requirement
3ds max 8 and 2009 -- mostly will work under all versions --
Author’s update date
Legacy votes
13
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

anaStudio

Credited author: anas mansour

More by this author

Description

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.

Comments (8)
Marci

@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 ;)

Reply to Marci
Jordan Walsh

@Marci: True, the less

@Marci:

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

anaStudio

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"

fajar

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

Marci

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.

Attachments
Panayot Karabakalov

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
	)
)
anaStudio

try it and tell me your opinion