Modifier Preset Creator

16 votes
Version: 
0.05a
Author Name: 
Vojtech Cada

If you find yourself changing modifier parameters to the same same values over and over again, make your life easier and use the same modifier with preset values instead.

Additional Info: 

Installation: The .ms file can be run from any location (Maxscript -> Run Script...).

Usage: With the modifier of your choice selected in the modifier stack and its values set to your liking, run the script, input new modifier name (for example ChamferRound for a Chamfer preset) and press the Create button. A text window will pop up with a script with the current values pre-filled (all the lines beginning with the delegate. string). You can tweak it if you want, drop some of them or leave it as it is and save it as a .ms file.

To try it out first, use the Test button and the modifier should appear in the modifier list. If you plan to use it from the modifier list or global search only, saving the file to your scripts\startup folder will be enough, if you want to be able to use it in the modifier sets panel, place the .ms file instead inside the plugins folder in the 3ds max root folder.

AttachmentSize
modifierPresetCreator.ms2.92 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Haider of Sweden's picture

.

Works great, you got my vote on this +1!

Say, just out of curiosity I wonder if this output window could have been part of the Custom Modifier Defaults UI itself, or does it have to be separate?

And is it possible through script to evaluate, ie an additional button called eg "Evaluate" that equals evaluating the code?

Kind regards
Haider
www.haider.se

Swordslayer's picture

gizmos skipped now

together with other subAnims, could you retest to see if I missed anything else? Any offending line can be deleted if it doesn't contain something you really want there, whatever is left out gets the default value.

vusta's picture

well there you go..

I thought I was plain stupid...couldn't get it working...

anyway, works now...but only for things that don't require a Gizmo. Things that do require a Gizmo like Bend, Twist...etc...it spits out this:

-- Syntax error: at keyword parameter, expected factor
-- In line: delegate.gizmo = SubAnim:G

ps: for others trying it, after Ctrl+E, looks like nothing happened, but look in your Mod list, a new entry has been added...so you chuck this onto your object like it was another modifier..

Swordslayer's picture

 

Could you redownload and try again? Uploaded version was the wrong one, sorry.

Haider of Sweden's picture

.

I get this when I press create

No ""getPropNames"" function for undefined

Kind regards
Haider
www.haider.se

Comment viewing options

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