Menu position of a TagData plugin
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/02/2006 at 10:37, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.52
Platform: Windows ;
Language(s) : C++ ;---------
I made a TagData plugin according to lookatcamera.cpp
from the cinema4dsdk examples.
It does inititialize (console output) but it has
no menu entry when right-clicking on an object.How is it placed there? How to create a sub-menu
like "cinema4dsdk"? I couldn't find any appropriate
source in the sdk examples, that opens such a sub-menu
for the lookatcameraTag.Seems do be done through magic...
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/02/2006 at 11:31, xxxxxxxx wrote:
You can hide the tag in the ObjectManager File and object context menu using the PLUGINFLAG_HIDEPLUGINMENU flag in RegisterTagPlugin(). This is useful when the tag is programmatically created and should not be added by users, but it will not display.
Does it show in the ObjectManager File menu? If not, then it is truly failing some place.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/02/2006 at 02:56, xxxxxxxx wrote:
The failure was so simple!
Since 1 .cdl is build of two plugins,
I only used 1 Plugin ID . But both
plugins need their own ID.
Shame on me!Now the Tag shows without a sub-menu
in the OM. Thank you for you answer! -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/02/2006 at 09:05, xxxxxxxx wrote:
Great that you found it!
Yes, you will need a Plugin ID for every plugin you 'Register' in the .cdl. I'm up to eight in mine!
Good luck and Takc care,