ScriptSpot

Script

Max Defaults

By pixamoon · Credited author: Pixamoon · 2015-04-13

Version
v0.56
Date updated
2015-09-16
Votes
13
Download
Download
Description
Objects and modifiers defaults

  - New version - save defaults / presets and automatically load them on create object or add modifier
  - up to 8 defaults / presets - just Ctrl, Alt, Shift combination
.
  - Now also without Ctrl, Alt, Shift
.

This script saves and loads not accessible Max Defaults. It automaticaly starts with your 3ds Max and works in background.

It saves selected values of modifiers as your defaults / presets and load them while adding new modifier

It can copy / paste modifier properties to other max instance !

You can save up to 8 different presets for each type of Object or Modifier.
To load/save more defaults just hold Ctrl, Alt, Shift combination on save or create

How to do:

To save your defaults:
  - Open Max Defaults - Save script,
  - Select modifier or object
  - Select properties to save (or press button All)
  - to save more presets - hold Ctrl, Alt or Shift combination
  - Press Save button

To load defaults:
  - for more defaults - hold Ctrl, Alt or Shift buttons while adding new modifier or object.

No need to restart max, whatever you save can be used in next modifier. Also in other max instance ! So it can be used to copy paste modifier settings too :)

v0.56:
 - load and save defaults also without holding any button - as 'permament' defaults
v0.51:
 - fixed save larger amout of properties (all VrayCamera settings etc)
v0.50:
 - saves most of properties of modifiers and objects
 - Ctrl, Alt, Shift combinations
 - small help button (top right corner)

This is only beta / testing version:
http://www.turbosquid.com/FullPreview/Index.cfm/ID/916151?referral=pixam…

Let me know what you think.  Any sugestions for next verison ?
Pixamoon

 

 

Tags: max default defaults add modifier material object model create

Comments (36)

tahir1983 · 2019-12-23

it doesnt work when load modifier from quad menu or from asigned hotkey!

Not working when accesing modifier through hotkey

OxyKandra · 2018-08-12

Hi pixamoon your script is wonderful and works great in general but as banezza mentioned it still doesn't work when i apply my modifier with a hotkey. i doesn't work with either ctrl,alt or shift. idk what to do because your script is a lifesaver but if you can't make it to work with our hotkeys i won't use it :( also, idk if i do something wrong but i cannot change the default settings of the proboolean [i want to remove only visible edges upon boolean and definetly not all as 3dsmax has it]

anyway please make this owrk with hotkeys 'cause i really need it :]

re: hotkeys

pixamoon · 2018-08-13

Hi,

I can add an option to disable Ctrl, Shift and Alt

But then there will be one saved default.

Let me know if this is ok for you.

Best,
Pixamoon

re:re:hotkeys

OxyKandra · 2018-08-24

you mean one saved default for each modifier or in general? anyway, i whould be ok if you could disable ctrl,shift, alt if that does the trick. best regards and thanks for you work :]

Swahn · 2019-01-28

remove this post

`

pixamoon · 2018-03-14

Hi,

Re: Shortcuts (Ctrl+B etc) - yes, that is a bit trouble for this script - because it recognize button state during adding new modifier and apply default settings - if you set up defaults with Ctrl pressed - it should recognize that and apply your defaults. try and let me know if that works.

Re: Saving stage of rollouts in control panel - I'll take a look on it but i don't think its exposed to max script - I can still read and apply that by windows.sendMessage but have to check that out. Let me know how many of you guys are interested to have that option ?

Re: other updates - Sorry for no updates for a while - I was super busy at work - Will try to find some time soon to finish what is on the list.

Best,
Pixamoon

banezza · 2018-03-13

Hey there, thanks for the script, works awesome, and saves alot of time :)
BUT, It can't seem to work for me when I'm acessing a modifier with shortcut. Works flawlessly when i CLICK on a modifier from a list or a button, with or without CTRL, ALT and SHIFT combo, but again, not when i press, let say CTRL+B and pop a ProOptimizer on a mesh.

Missed your reply, sorry

cptSwing · 2017-09-09

Hey, wasn't notified of your reply so mine is a little late. Thanks for answering!

I mistakenly pointed my finger at MaxDefaults regarding slowdowns, it's actually the fault of another #sceneNodeAdded script and likely the fault of my edits to said script ;)
When I leave only MaxDefaults installed, objects are created in a timely manner, so to speak.

Editable Poly defaults would be great! We probably spend most of our time here, eh?

`

pixamoon · 2017-09-12

ah, no prob,

ok, will take a look on Edit Poly modifier defaults.

.

cptSwing · 2017-09-16

Another suggestion: Saving state of the rollouts in the various modifiers in the command panel. Though I'm not sure this is exposed anywhere.

Very useful

cptSwing · 2017-08-17

Great to set - for instance - the chamfer modifier to more useful defaults.

Two things, I have noticed some slowdown on creating new objects - maybe it'd be a cheap optimization trick to code in settings on whether "Max Defaults" should react just to modifiers added, or new objects as well?
Also, Editable Poly defaults are not applied, ever. But I'm sure that one's a bit trickier to solve.

(Max 2018.1)

`

pixamoon · 2017-08-19

Hi and thanks,

It should work when creating new objects too - (eg plate or sphere with specific segments count)

How long are the slowdowns on creation ? can you make a gif screenshot ? www.screentogif.com/

You can also choose to use defaults only if object is created with Alt button pressed. (just hold Alt when pressing Save defaults button and hold Alt when creating object or adding modifier)

Editable Poly defaults - I'll take a look on it next days. I'm finishing now a bigger update for Library Track Relink.

Cheers,
Pixamoon

smved · 2017-04-02

Works in 2017, but with a few bugs that i found:

1. Changes "." to "," (See Weld Threshold value in Symmetry modifier)
2. doesn't work if modifier is applied through quad menu

re: Max defaults - bug

pixamoon · 2017-04-04

Hi,

Can you explain bit more ?

1. Does it happen when creating / adding new modifier or when saving default ? What is default language of max you use?

2. What kind of modifiers form quad menu ?

jsrocha · 2016-06-20

Hi, pixamoon.
Well, after a while the script worked again. In fact, i noticed that sometimes i need to click several times on the modifier button to use the saved settings. It happens in any kind of key, ctrl, shift, etc...
but is working, thanks! ;-)

Jsrocha

`

pixamoon · 2016-06-20

hey, cool it works,
But which modifier button do you mean you need to press several times ? Let me know. Will try to fix it.

Best,
Pixamoon

jsrocha · 2016-06-16

Hy, wonderful script.
Is it supposed to work in max 2016? it seems to have a problem with the new chamfer modifier. Everytime i restart max it doesn´t work (it works in the same session). It would help a lot if it works, because the default settings for this modifier is one tha no one will use, so everytime i use it i have to change the settings.
Cheers,

Jsrocha

re: 2016

pixamoon · 2016-06-19

Hey, I'm back. I just tried here and it works, also after restarting max session.

Did you save it with Ctrl, Shift or Alt combination or without it ?

Please check if default settings are saved in folder (or if file is created):
C:\Users\...yourUserName...\AppData\Local\Autodesk\3dsMax\2016 - 64bit\ENU\scripts\Pixamoon\MaxDefaults\Modifiers\_Chamfer.ini

Best,
Pixamoon

dmitrybelonosov · 2015-09-19

Gorgeous! Thank you!

`

pixamoon · 2015-09-19

thanks :)

Please test it and let me know if all works good, if callbacks don't slow viewport etc.

Maybe is better to not save all properties of each object/modifier.. hmm ?

Do you guys want to have custom names/wirecolors for objects or modifiers too ?

Cheers,
Pixamoon

Lande3D · 2015-09-28

Im noticing no slowdowns on my part.
*Custom names wires would be great.
*Defaults on editable poly/mesh is not working (probably because of the different implimentation)

Update:
OOps.. i seem to have spoken too soon. i was having seemingly random crashes while entering edit poly(with defaults) and (rapidly) tapping into subobject mode. traced the cause to this script through elimination. not sure if this effects other modifiers or not.

`

pixamoon · 2015-09-28

oki, thanks, I'll look on all of those. And specially crashes while entering edit poly (but did you mean with open save defaults window or just change modifier to edit poly - on modifier stock)

Best,
Pixamoon

Lande3D · 2015-09-30

Save defaults window was closed. Happens if you try to enter subobject mode while defaults are being loaded by the script. Im saving all parameters to the default set because i didnt want to look at all to find the ones im using (set weld to 0.001, quad chamfer tension to 0.5 and a few more) not sure if that is causing the script to load for a longer time.
I havent been noticing problems entering modifier gizmo subobjects in the same way

Edit: yes when adding edit poly to the stack
Edit: ill try to save the default again with just weld and tension. And see if that makes a difference. That would also rule out any ini file corruption etc.
Edit: another cool feature would be to auto assign a material slot to a object(lazy i know:-)

`

pixamoon · 2015-09-30

Thanks. I'll try to find time soon to look on those issues. For now please delete default files for items which cause problems.
To delete defaults: Open Max Default window select modifier/object you want to delete defaults and press "Clear default" button

Lande3D · 2015-09-19

The new global defaults are so awesome. You just saved me even more time. Much props

re: refaults

pixamoon · 2015-09-19

Thanks :)

Wasn't easy but hope it works finally lol

That is what i'm waiting for a long time :)

TitusLVR · 2015-09-18

Great script! Thank you!

Seems to be working now.

levi26 · 2015-05-05

Awesome thanks
Looks like the length, width and Corner Radius parameters are missing from the spline modifiers list of savable properties.
Also any way of changing the default on the modifiers permanently?

Thanks for the swift reply. Great script.

Check out this modifier clipboard script
http://www.scriptspot.com/3ds-max/scripts/modifiers-clipboard

I'll look on it

pixamoon · 2015-05-05

Thanks, I'll look on missing spline modifiers properties.

To make it permanent, you mean without key combination ? To have it always as default ? I started from this idea, but there were troubles to do that plus I decided to keep original defaults and just make extra as presets...

Also, if you forget to press Ctrl, Alt, Shift on creating you can still paste default / preset by holding key combination and pressing "P" (paste) button, instead of creating new one. ("P" works as load preset than :)

Hope it makes sense :)
Best,
Pixamoon

Unknown Property "checked" in undefined

levi26 · 2015-05-05

Hi

I'm having and error pop up when i try and save as default for a modifiers, eg : sweep CurrentBuiltInShape.

I can copy and paste from one modifier to another but i cannot seem to get the defaults to save. Once this error pops up the script doesn't copy or paste either.

Is there a step I'm missing?

Step 1: select modifier and chose properties to save.
Step 3: press keyboard combination and click save as default.
Error : Unknown Property "checked" in undefined

Thanks would find you script very useful, I have been looking for this type of script for a while.

Levi

Attachments

ah, true

pixamoon · 2015-05-05

Thanks for reporting !
I changed few thing yesterday and did only tests on copy paste :(

Just fixing it now :)

new fix v0.52

pixamoon · 2015-05-05

oki, should be fixed now

still some properties are hidden deeper in the tree,
If you guys find script interesting I'll try to find a way how to save all kind of defaults.

Let me know if it works now.
Cheers,

Michele71 · 2015-04-14

Thanks for sharing! +1

pixamoon · 2015-04-15

Thanks :)
New version ready to download - with copy/paste and more...

Nice one !

NicolasC · 2015-04-14

Clever idea, thanks for sharing :)

Thanks :)

pixamoon · 2015-04-14

More options coming soon... copy / paste selected values, default presets depends of buttons configuration (Ctrl+Alt+Shift)
Cheers,