change hotkey sets when changing modes
change hotkey sets when changing modes
Does anyone know of a script that will change hotkey sets when switching between modes - for
example a different set of hotkeys for animation, modeling, sim, etc... (or if this is even possible)
example a different set of hotkeys for animation, modeling, sim, etc... (or if this is even possible)
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: change hotkey sets when changing modes
I don't think this is currently possible...
(but someone please prove me wrong as it would seem to be a nifty feature)
;)
(but someone please prove me wrong as it would seem to be a nifty feature)
;)
Stay safe, sane & healthy!
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: change hotkey sets when changing modes
as i don't know how to query the construction Mode i'd build myself some fancy buttons.
here's one example that switches to Animation Construction Mode with the Softimage default Keymap:
Jscript
here's one example that switches to Animation Construction Mode with the Softimage default Keymap:
Jscript
Code: Select all
SetValue("Context.ConstructionMode", 2, null);
SetDefaultKeyMap("Softimage Key Map");
SI 2015 @ WIN7-64
- Hirazi Blue
- Administrator
- Posts: 5107
- Joined: 04 Jun 2009, 12:15
Re: change hotkey sets when changing modes
Interesting. I gladly stand corrected on this one. Must look into it some more.
Thanks, caledonian_tartan...
;)
P.S. Isn't it a problem this changes the "default keymap" instead of just switching between keymaps?
Thanks, caledonian_tartan...
;)
P.S. Isn't it a problem this changes the "default keymap" instead of just switching between keymaps?
Stay safe, sane & healthy!
-
- Posts: 253
- Joined: 17 Feb 2010, 15:13
Re: change hotkey sets when changing modes
it switches instantly AND sets it as a new default, yes.
unfortunately i don't think its possible to only switch it...
but you could create a startup event to override the default keymap at startup if you wish...
unfortunately i don't think its possible to only switch it...
but you could create a startup event to override the default keymap at startup if you wish...
SI 2015 @ WIN7-64
Re: change hotkey sets when changing modes
Thanks for the suggestion - I'll try this.
Re: change hotkey sets when changing modes
Hi, I use same system (another hotkeys for another modes). It is simple.
Create command in custom plugin and assign hotkey (F1 = model, F2 = animate etc)
In your custom command use this:
Create command in custom plugin and assign hotkey (F1 = model, F2 = animate etc)
In your custom command use this:
I also recommend set some visible filter. For example hide nulls, cameras in model, timeslider ... etc.xsi = Application
xsi.SwitchToolbar( 1 ) #model mode
xsi.SetDefaultKeyMap( "your keymap" )
Re: change hotkey sets when changing modes
When I'm trying to run the script it says (Microsoft JScript compilation error) Invalid characterCenda wrote:Hi, I use same system (another hotkeys for another modes). It is simple.
Create command in custom plugin and assign hotkey (F1 = model, F2 = animate etc)
In your custom command use this:
I also recommend set some visible filter. For example hide nulls, cameras in model, timeslider ... etc.xsi = Application
xsi.SwitchToolbar( 1 ) #model mode
xsi.SetDefaultKeyMap( "your keymap" )
Re: change hotkey sets when changing modes
Neat Idea but wouldn't that defeat the purpose? Since soft remembers what it was last set to having the keymap also be the same by default should be the correct behavior no?caledonian_tartan wrote:it switches instantly AND sets it as a new default, yes.
unfortunately i don't think its possible to only switch it...
but you could create a startup event to override the default keymap at startup if you wish...
Re: change hotkey sets when changing modes
This script looks like it's writte in python, you'd have to switch the scripting languagendrakey wrote:When I'm trying to run the script it says (Microsoft JScript compilation error) Invalid character
softimage resources section updated Jan 5th 2024
Who is online
Users browsing this forum: No registered users and 51 guests