The SetMenuItemChecked command checks or clears the menu item. A check mark or a radio mark (bullet) is placed next to the checked menu item.
Syntax
Integer=MenuItemID
PluginSet("PlugIn","Integer")
PluginRun("PlugIn","SetMenuItemChecked")
or for the radio mark...
String$='MenuItemID'
PluginSet("PlugIn","String$")
PluginRun("PlugIn","SetMenuItemChecked")
Parameters
MenuItemID
[in] Associated with the menu item unique identifier. Use numeric input for the check mark and string input for the radio mark. If MenuItemID value is positive then command marks menu item, if negative then command clears it.