extrude set dir script

Next
 From:  steve (STEEVE)
2132.1 
Hi Michael (or anyone).
I am trying to make a shortcut to do the Extrude/Set dir operation. But I'm not getting anywhere.
Should I assign two keys one for Extrude and one for Set Dir or can it all be done in one script?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2132.2 In reply to 2132.1 
Hi Steve, I don't think it can be easily done from one script right now, without having that one script basically be a rewrite of the extrude command.

However, the 2 key method will work. If you set up Extrude as the command for the first key, you can use this script for the second key that will be the equivalent of pushing the "Set dir" button:
code:
script:moi.ui.fireUIEvent( 'setdirection' );

Probably in the future I can add some stuff that will let you do it more easily with one shortcut by making a more unified method for a command to take some scripted parameters. But for now you'll need to use the 2 key method.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  steve (STEEVE)
2132.3 In reply to 2132.2 
Thanks Michael that works well. The two key method is just fine.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All