You can't abort a command.

On 14/03/2013 4:52 PM, Mitchell Lotierzo wrote:
Hi everyone!

I have an issue where Softimage is adding materials to referenced material libraries when the ref. material library is set as the current library. I'm trying to remedy this with a custom plug-in and a OnBeginCommand custom event to check if any shader commands where triggered. I'm having trouble finding a way to abort (if you can at all) the built-in commands fired when you add a new material. I know there is a ".Enabled" property, but that only affects the UI, not the command execution. It also seems that the command's argument handlers are all set to "None". I may be misunderstanding how to go about this. Does anyone out there have experience with this sort of thing?

Thanks!
Mitch

Reply via email to