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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Setting Name of Custom Tag

    SDK Help
    0
    6
    556
    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
      Helper
      last edited by

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

      On 13/06/2003 at 19:00, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.100 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      I've created a new tag object and I can set the params that are in my tag.res file, but I can't figure out how to set the name of each tag. They come up with the name of the tag type.

      The only thing I can find is the ref in Obase - ID_BASELIST_NAME for the name that apears under the 'Basic' tab, but that doesn't work.

      How can I change the basic name? (Not the name of the tag type - just the name the user can edit.)

      Thanks,
      David

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

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

        On 14/06/2003 at 00:54, xxxxxxxx wrote:

        Couldn't you set this name in Init()?

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

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

          On 14/06/2003 at 23:07, xxxxxxxx wrote:

          Since they each have a unique name, how would I set them in Init? I don't see how to pass it a name and and don't know how to set it there other than the ID_BASELIST_NAME I was trying, since that is the only name I can find in the heirarchy for a plugin tag.

          David

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

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

            On 15/06/2003 at 01:52, xxxxxxxx wrote:

            I don't understand. Why won't you know the default name in your TagData::Init()?

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

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

              On 15/06/2003 at 08:21, xxxxxxxx wrote:

              I don't understand - I thought Init was called by C4D. I do have a default name - and it shows up, but I need to change it to the name of the particular item the tag contains, I assumed this would be the same as the name that the user can see and change under Basic in the user interface.

              David

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

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

                On 15/06/2003 at 09:57, xxxxxxxx wrote:

                Found it! Using SetName of the BaseTag * that I get initially from New Tag (BEFORE I cast it to my tag type).

                Thanks!

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