Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    limit tag attachment

    Scheduled Pinned Locked Moved SDK Help
    17 Posts 0 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

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

      On 05/10/2010 at 09:44, xxxxxxxx wrote:

      thanks.

      How can I hide the tag plugin from the tags menu?
      Since the tag target is my object plugin, I can add a button for attaching the tag. Can my object plugin check, whether the tag plugin is available? Both are independent plugins. So I would need a method to check whether the tag plugin is installed in order to disable the button if not.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        On 05/10/2010 at 10:08, xxxxxxxx wrote:

        Howdy,

        Set the PLUGINFLAG_HIDEPLUGINMENU flag when registering the tag plugin.

        To check for it, you can use the FindPlugin() function, but that function can be slow, so it may be good to only use that once (for example in the PluginStart() function after all the parts have been loaded) to set a flag somewhere in your plugin that could be checked more quickly from within another function.

        Adios,
        Cactus Dan

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          On 05/10/2010 at 10:29, xxxxxxxx wrote:

          Thanks for FindPlugin()!

          I certainly tried PLUGINFLAG_HIDEPLUGINMENU, but the tag is still visible in the TAGMENU. I assume, the flag only works with the plugin menu (as the name suggests)?

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

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

            On 05/10/2010 at 10:32, xxxxxxxx wrote:

            Maybe try

            PLUGINFLAG_HIDE

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

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

              On 05/10/2010 at 11:38, xxxxxxxx wrote:

              Howdy,

              Oooops, sorry about that. Samir is correct. 😊

              Adios,
              Cactus Dan

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

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

                On 05/10/2010 at 12:14, xxxxxxxx wrote:

                that's it. thanks.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

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

                  On 05/10/2010 at 12:27, xxxxxxxx wrote:

                  btw.: did you know, that you can add an independent tag plugin to a tag collection of another plugin just by copying the whole plugin folder into the folder of another plugin? I didn't expect that it could work, but it does (tested with R12 on win7 only).

                  [tagplugin1]
                  tag1.cdl
                  [res]
                  [tagplugin2]
                      tag2.cdl
                      [res]

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

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

                    On 06/10/2010 at 00:20, xxxxxxxx wrote:

                    yep. You can also put all into one parent folder to have plugins in the submenu name of the paren folder. That works ever since even in coffee.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Helper
                      last edited by

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

                      On 06/10/2010 at 01:41, xxxxxxxx wrote:

                      hello all,
                      i use MSG_MENUPREPARE to solve this problem and wotk fine in my plugin here an example :

                      Bool LookAtCamera::Message(GeListNode* node, LONG type, void* data)
                      {
                           if ( type == MSG_MENUPREPARE)
                           {
                                BaseObject * op = ((BaseTag* )node)->GetObject();
                                if (op->GetType() != Ocamera) return FALSE;
                           }
                           return TRUE;
                      }

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        Helper
                        last edited by

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

                        On 06/10/2010 at 03:16, xxxxxxxx wrote:

                        Originally posted by xxxxxxxx

                        yep. You can also put all into one parent folder to have plugins in the submenu name of the paren folder. That works ever since even in coffee.

                        I know that, but I was surprized, that it even works with "chaotic" hierachies. This enables me to make my tag as an extension for my object that can be installed into the object plugin folder (I provide my plugins with installers).

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          Helper
                          last edited by

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

                          On 06/10/2010 at 03:18, xxxxxxxx wrote:

                          Thanks Franz. This is a good solution.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post