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.

"Reset to Default Control" MaxScript or Python?

"Reset to Default Control" MaxScript or Python?

robotProdigy
Advocate Advocate
2,041 Views
2 Replies
Message 1 of 3

"Reset to Default Control" MaxScript or Python?

robotProdigy
Advocate
Advocate

I've looked at the docs, and googled online, but having trouble figuring out how to code the equivalent of going to the Motion tab/Parameters/Assign Controller, and r-clicking Transform and selecting 'Reset to Default Control'. Can anyone give me a hint on how to accomplish this? I've been working in Maya for years, and pretty rusty in MaxScript/Python at the moment.

for_area_max_post.png

 

Max 2018/Win10

 

Cheers,

Paul

0 Likes
Accepted solutions (1)
2,042 Views
2 Replies
Replies (2)
Message 2 of 3

ads_royje
Alumni
Alumni
Accepted solution

Hi @robotProdigy,

 

 

To do so, assign the appropriate "New Default Controller Function" to a controller.

 

For instance:

$.transform.controller = NewDefaultMatrix3Controller()

$.pos.controller = NewDefaultPositionController()

 

You can find all the "New Default Controller Function" in :

http://help.autodesk.com/view/3DSMAX/2019/ENU/?guid=GUID-DE634C96-9DEB-42AD-B299-C112F4A739A3

 

I hope this can help!

 

Message 3 of 3

robotProdigy
Advocate
Advocate

Thank you. This helped tremendously!

0 Likes