Menu plug-in aware of object type

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

On 26/07/2005 at 03:24, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.x 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
I want to only have my menu plug-in selectable if a speficic type of object is selected. If no object is selected or if another type of object, besides the one I want to check for (in my case, a camera), I want the menu entry for my plug-in to be dimmed. Possible?

Rui Batista

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

On 26/07/2005 at 05:51, xxxxxxxx wrote:

just check for the object type in your GetState function and return the appropriate flag.

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

On 26/07/2005 at 06:46, xxxxxxxx wrote:

thank you very much, Samir. That worked fine :)

Rui Batista