Re: Overriding commands

2013-10-20 Thread Mathias N
n your case, for example, you can nullify the > extrude in a post procedure and proceed to your custom extrude. You also > call undo but not all commands support it. > >> > >> I would still consider overriding commands as a bad practice. Maybe in > some extreme scenario

Re: Overriding commands

2013-10-19 Thread Martin
y the >> extrude in a post procedure and proceed to your custom extrude. You also >> call undo but not all commands support it. >> >> I would still consider overriding commands as a bad practice. Maybe in some >> extreme scenario you can, if the situation absolu

Re: Overriding commands

2013-10-19 Thread Chris Chia
lso call > undo but not all commands support it. > > I would still consider overriding commands as a bad practice. Maybe in some > extreme scenario you can, if the situation absolutely warrants it. In such > case you have to remember which commands you have overridden and how,

Re: Overriding commands

2013-10-19 Thread Alok Gandhi
doing what it is supposed to. You can only do some pre/post stuff. In your case, for example, you can nullify the extrude in a post procedure and proceed to your custom extrude. You also call undo but not all commands support it. I would still consider overriding commands as a bad practice

Re: Overriding commands

2013-10-19 Thread Steven Caron
n't think there is a solution to this Mathias, but I > might be wrong. > On Oct 19, 2013 9:01 PM, "Chris Chia" wrote: > >> Why overriding commands? >> Have a separate command and make it available on custom tool shelf. If >> not, bind it to a custom hot keys >

Re: Overriding commands

2013-10-19 Thread Leonard Koch
He acknowledged that possibility, but wants to avoid the user using the standard extrude because that might cause problems with the workflow. Unfortunately I don't think there is a solution to this Mathias, but I might be wrong. On Oct 19, 2013 9:01 PM, "Chris Chia" wrote: &

Re: Overriding commands

2013-10-19 Thread Chris Chia
Why overriding commands? Have a separate command and make it available on custom tool shelf. If not, bind it to a custom hot keys Chris On 20 Oct, 2013, at 9:24 AM, Mathias N wrote: > Is it at all possible to intercept and override commands made by the user? > > For instance, in

Overriding commands

2013-10-19 Thread Mathias N
Is it at all possible to intercept and override commands made by the user? For instance, in my case I need to make a number of other changes every time the user extrudes something. At the moment I have implemented my own separate extrude command, but I imagine the user would often end up using the