CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 06-22-2013, 11:34 AM   #1
miauu
Expert
 
miauu's Avatar
portfolio
Kostadin Kotev
Blagoevgrad, Bulgaria
 
Join Date: Sep 2009
Posts: 766
How to detect when Select and Move are changed to Select and Rotate?

When user pres the Select and Move, Select and Rotate and Select and Scale buttons , sometimes the MAX changes the Ref.Coord.System. For Example if I am in Select and Move mode and my ref.coord.sys is #view, then I go to Select and Rotate mode and change the ref.coord.sys to #world, then I go to Select and Scale mode and change the ref.coord.sys to #local.

Now, if I go to Select and Move mode the max will change the ref.coord.sys from #local to #view.

How can I detect when the Select and Move, Select and Rotate and Select and Scale modes are changed(no matter if the buttons are pressed or a hotkeys are used)?

I checked the callbacks, but did not found a solution.

I can use a timer, but is there another way to get notification when the modes are changed?
 
Old 06-22-2013, 11:44 AM   #2
denisT
MAX Doctor
 
denisT's Avatar
portfolio
Denis Trofimov
CA, USA
 
Join Date: Jul 2009
Posts: 9,334
Send a message via ICQ to denisT
General Event Callback #spacemodeChange
 
Old 06-22-2013, 01:44 PM   #3
miauu
Expert
 
miauu's Avatar
portfolio
Kostadin Kotev
Blagoevgrad, Bulgaria
 
Join Date: Sep 2009
Posts: 766
Thank you.
 
Old 06-22-2013, 01:44 PM   #4
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:35 PM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.