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
    • Admin
    • Login

    How to find Tag IDs

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 418 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

      On 08/02/2016 at 12:55, xxxxxxxx wrote:

      Hi!
      I'm looking for the ID of the "Interaction Tag":

      oInteractionTag = oSel.MakeTag(???)

      By the way - where in the SDK help do I find a complete list of available tags and their IDs?
      Is it this?
      https://developers.maxon.net/docs/py/2023_2/types/tags.html
      Seems to be incomplete...

      Thanks!
      Best regards
      Eugen

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

        On 09/02/2016 at 00:04, xxxxxxxx wrote:

        Figured!
        oInteractionTag = oSel.MakeTag(c4d.Tinteraction)

        It's only to be found in the C++ docs, however:
        https://developers.maxon.net/docs/cpp/2023_2/group\_\__tag_types.html

        Best regards
        Eugen

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

          On 09/02/2016 at 02:58, xxxxxxxx wrote:

          Hi,

          The tag list in the Python SDK docs has to be updated. Thanks for reporting this.

          To find out the ID for a tag drag&drop it in the console and print it (press enter) or call GetType() on the dragged variable. This can be used for any other entity in Cinema.
          Then to get the name for the ID search resource/coffeesymbols.h
          Note some entities ID doesn't have a name so in that case use the ID integer value.

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

            On 10/02/2016 at 00:37, xxxxxxxx wrote:

            Hello! Good tip, thanks, Yannick!
            Best regards
            Eugen

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