Enable, disable plugin

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/08/2011 at 03:53, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   12 
Platform:      
Language(s) :   C.O.F.F.E.E  ;  C++  ;

---------
How can make the icon and plugin title be disabled or enabled?
i mean if the user is in polygon mode and has selected one or more polygon enable the plugin menu title and icon, if no disable it.
Big thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/08/2011 at 05:21, xxxxxxxx wrote:

See CommandData::GetState in the SDK.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/08/2011 at 04:41, xxxxxxxx wrote:

Thanks very useful 🙂