msg if new material selected?
On 05/08/2017 at 03:42, xxxxxxxx wrote:
does anybody know if it is possible to get a message
if a material was selected in the material manager?
if possible i'd like to catch it in Command(self, id, msg)
in a CommandData plugin
but i m open to any ideas on how get this "event"
On 07/08/2017 at 02:33, xxxxxxxx wrote:
depending on your CommandData implementation you have two options.
a) If it's a simple CommandData with no dialogs attached, you don't need any event or message at all. You can simply use GetActiveMaterial(), store it's return value somewhere and compare it on the next execution of the command.
On 08/08/2017 at 22:50, xxxxxxxx wrote:
Originally posted by xxxxxxxx
thanks for hinting me to the right place! works!