custom hotkey defining for switch between diffrent tools

 
 
 
Posted by:AntiDX
Data created:3 May 2021

Hi guys,

When editing guides, I found that I need very very frequently to switch between the Brushes(such as Comb/Cut/Grab) and the Guide selecting tool(from Attribute editor) for changing my operating object; and is also very often in demand to switch between enable/disable the "Affect selected only" selection when sculpting the hair shape...

Every time these two kinds of switching processes seems can only be oprated by clicking the buttons on the shelf or panels, which is very inconvenient and greatly affects my efficiency.

I wonder if there has some easy way to set custom hotkeys for Ornatrix tools?
and hope the Guide Selecting Tool can be separated into an independent tool that maybe I could set a hotkey for it...

Thanks

 

***********************

While thy branches mix with mine ...

Hi,

I agree with you. We are planning to expose all the Ornatrix commands in the Hotkey Editor so users can create custom hotkeys for every command and tool. But this is probably for the next major version. 

But, since every Ornatrix brush and tool is now independent of Edit Guides and other nodes, you can add custom hotkeys using the Ox command printed in the script editor. 

In this example, the following command is printed when you activate the Comb brush:

OxLoadPlugin(); catchQuiet ( `OxCombBrushTool oxCombBrushTool1` ); setToolTo "oxCombBrushTool1";

Now you can use this command to create a custom hotkey using Maya's Hotkey Editor:

First create a runtime command:

 

Then assign a hotkey to this runtime command:

 

Almost every action in Ornatrix will print the command in the script editor, so you can use the same steps with Affect Selected Only option, or any other option in Edit Guides. 

The selection brush already has a hard coded hotkey. While the any brush is active, press and hold Shift to temporarily activate the Selection brush. 

 

Jeordanis Figuereo (Product Designer. EPHERE Inc.)

Wow, that's so cool! Thank you for the help! it really helps a lot and I'll try it immediately!:)

 

***********************

While thy branches mix with mine ...