Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Getting Tag by name

    Cinema 4D SDK
    python r20
    3
    4
    839
    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.
    • S
      sheilan
      last edited by r_gigante

      Hello,

      Is it possible to just get a tag by its name without looping through all tags and checking each name?

      Thanks,
      Sheilan.

      1 Reply Last reply Reply Quote 0
      • B
        bentraje
        last edited by

        Take my response with a grain of salt but there is no built-in method/function for that.
        There is no doc.SearchObject() equivalent for the tags.

        1 Reply Last reply Reply Quote 0
        • ManuelM
          Manuel
          last edited by Manuel

          hello,

          just a step in to confirm bentraje answer, there's no function equivalent.

          The function will go through all tags and check the tag name to create that list anyway.

          By the way, I've changed your thread to "ask a question", but if you could add tags to your thread by editing your first post. That help up to keep track of everything and make things organized. We have a chance to at least know if you are using python or c++ and what version you are using.

          • Q&A New Functionality.
          • How to Post Questions especially the tagging part.

          Cheers
          Manuel

          MAXON SDK Specialist

          MAXON Registered Developer

          S 1 Reply Last reply Reply Quote 0
          • S
            sheilan @Manuel
            last edited by

            @m_magalhaes Oh yeah I forgot to add the tags. I'm using Python by the way.
            You can count this post as solved.

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