Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

how to get slection center as default

RadioRahim
Collaborator

how to get slection center as default

RadioRahim
Collaborator
Collaborator

I need to know how to make 'Selection Center' as the the default, as i have to change ti everything i want to move something. 

 

 

0 Likes
Reply
Accepted solutions (1)
996 Views
7 Replies
Replies (7)

Alfred.DeFlaminis
Alumni
Alumni
Accepted solution

Hello @RadioRahim,

 

I don't think there's a way to make it the default normally, but you can make a script so that when you open Max or a Max file that it executes the command to make pivots the selection center.  I've attached the scripts, place them into your root/scripts/startup folder.  (Not the zip file, just the scripts inside it.)  Please keep in mind that these are not official Autodesk scripts, I'm just trying to help out.  Also, there may be more efficient ways to script this, I'm just going with what I know.  Other specialist won't be able to offer support on these tiny scripts, just a heads up.  

 

The problem has two parts.  1) When you open a scene and 2) When you start Max.  Both are addressed here and the code is below.  I tested 2018 and 2015:

 

On Max start:

toolMode.selectionCenter()

 

 

On File Open:

(
global SelectionCenterOnOpen
function SelectionCenterOnOpen =
(
toolMode.selectionCenter()
)

callbacks.removeScripts id:#SelectionCenterOnOpen_CallbackID
callbacks.addScript #filePostOpen "SelectionCenterOnOpen()" id:#MSelectionCenterOnOpen_CallbackID
)

 

Can you please try these for me?  

 

Please hit the "Accept as Solution" button if my post solves your issue or answers your question. This lets me know that I was effective in helping you, and thank you for doing so.

 

EDIT: Fixed a typo that apparently I can only see after I've submitted.  ><  

 

Best Regards,

Alfred.DeFlaminis
Alumni
Alumni

Hello @RadioRahim,

 

I just wanted to follow up here, any progress on this issue?

Best Regards,

0 Likes

RadioRahim
Collaborator
Collaborator

HMMM, I put both those scritps in my C:\Program Files\Autodesk\3ds Max 2017\scripts\Startup folder, but it still seems that when I select an object that the 'Use Pivot Center' is still happening SOMETIMES, but not ALL the the time.

I still need to use this some more to see. 

I think its working, just not sure 100% /

thanks for this!

0 Likes

Alfred.DeFlaminis
Alumni
Alumni

Hello @RadioRahim,

 

Sure, happy to help.  Keep in mind that each transform his it's own settings for the selection center.  (Scale, Rotate, Translate.)  

 

Best Regards,

0 Likes

Anonymous
Not applicable

Better answer with no scripts:

 


Note: The transformation center mode is set on a transform-by-transform basis, so select the transform before you select the center mode. If you do not want the center setting to change, turn on Customize menu Preferences  General tab  Reference Coordinate System group  Constant.



0 Likes

RadioRahim
Collaborator
Collaborator

Thank you for your reply. I am glad you did because those scripts stopped working a long time ago and I just got used to having to switch it manually.

Before I accept this as the new answer Id like to ask what you mean by "select the transform before you select the center mode"?

Cheers

0 Likes

evgeny.demme
Explorer
Explorer

Thank you for the script, it's very helpful for me.

0 Likes