“Mute" icon with Custom Operator

Discussions concerning programming of SOFTIMAGE©
jerry7
Posts: 45
Joined: 22 May 2010, 01:43

“Mute" icon with Custom Operator

Post by jerry7 » 30 May 2012, 10:23

hi,
In factory deform operator , if you check "Mute" parameter, a "m" icon appeared.
How to do the same thing in custom operator? How to add custom mute parameter link with mute icon?

thanks!

User avatar
CiaranM
Posts: 87
Joined: 08 Jun 2009, 23:37
Location: London

Re: “Mute" icon with Custom Operator

Post by CiaranM » 07 Jun 2012, 10:31

Hi,
you can set the mute property of the custom operator. You'll probably want to add a parameter to display in the operator's PPG. Then in the OnClicked callback for the parameter, you can set the Operator.Mute value.

http://download.autodesk.com/global/doc ... .Mute.html