Let me know in case you want to give it a shot, I have a version that's more 
stable and refined than the one that's publicly downloadable.

I think what Stephen means is that Menus can be dynamic in that you can decide to display 
menu items or not, e.g. depending on what is currently selected (filter by what's 
selected). He might refer to "oMenu.AddCallbackItem", but it could be that it 
only works with sub-menus.




Stefan, I've already seen that qmenu and always forget to try it. Thanks.

Stephen, nope. I'm not sure what is a menu filter :(

Martin


On Fri, Aug 23, 2013 at 7:26 PM, Stephen Blair <[email protected]>wrote:

Did you try using a menu filter?


On 23/08/2013 12:01 AM, Martin wrote:

I have a plugin that only works with selected polygons, and I inserted
the command in the viewport Component Edit menu with "
siMenu3DViewComponentEditConte**xtID ". Now the command appears when I
have any component selected on the viewport.

I would like it to show the command only when polygons are selected, is
this possible?

Martin






--
---------------------------------------------
  Stefan Kubicek                   [email protected]
---------------------------------------------
           keyvis digital imagery
          Alfred Feierfeilstraße 3
       A-2380 Perchtoldsdorf bei Wien
        Phone:  +43 (0) 699 12614231
                 www.keyvis.at
--   This email and its attachments are    --
-- confidential and for the recipient only --

Reply via email to