Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Set Chamfer to default to 'smooth chamfer only' and not the whole mesh!

Set Chamfer to default to 'smooth chamfer only' and not the whole mesh!

I keep losing my smoothing groups when I chamfer because you have to select 'smooth chamfer only' from the clunky drop down menu whenever I make a single chamfer. As far as I'm aware it is set to default everytime I chamfer an edge and I have to deselect it.

 

It's no fun to have to keep doing smoothing groups again and again because someone decided or didn't realise the one option no one would ever want is set to the default.

27 Comments
martin.coven
Alumni

Hi jimijib, Here is a quick video showing how to use the presets in the Chamfer Modifier.

https://youtu.be/QsSmPk5QYPk

 

Best, 

Martin

jibijib
Collaborator

Thanks - that's for the 'chamfer modifier', I was after the chamfer tool in Editable Poly. I was told you have to access this in the plugin through 'Editable Poly'.

martin.coven
Alumni

Ah yes. The defaults system will allow for that. 

 

Copy these into your MAXScript Listener and hit enter after each one.

result = DefaultParamInterface.SetDefaultParamValue editable_Poly "edgeChamferSmoothType" 1 persistent:true

result = DefaultParamInterface.SetDefaultParamValue editable_Poly "edgeChamferSmoothThreshold" 180.0 persistent:true

 

You should see #success after each one.

martin.coven
Alumni

And if you want to set the same in the Edit Poly modifier, type the same thing, but replace editable_Poly with Edit_Poly

 

result = DefaultParamInterface.SetDefaultParamValue Edit_Poly "edgeChamferSmoothType" 1 persistent:true

result = DefaultParamInterface.SetDefaultParamValue Edit_Poly "edgeChamferSmoothThreshold" 180.0 persistent:true

 

Best, 

Martin

Anonymous
Not applicable

Yes this should be a way to save on the default preset. 

revel68
Advocate

Thanks Martin!

Do you know of one that would affect the entire function - Turning it off by default.  Those there edit the sub-features but there is a way to uncheck the feature entirely. Is that possible in default script listener?

 

Thanks!

 

martin.coven
Alumni

@revel68 Turn off smoothing completely? If so, yes you can do that as well.

 

result = DefaultParamInterface.SetDefaultParamValue editable_Poly "edgeChamferSmooth" off persistent:true

 

You can get to any of the defaults by typing show $ on your editable poly object, for example. It will list out all the parameters that you have access to setting defaults to. 

 

Changsoo Eun also wrote a Maxscript tool to help in setting defaults. That can be found here.

http://cganimator.com/3dsmax-2021-1-custom-default-parameter-and-the-manager/

 

Best,

Martin

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea