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

    Unique, consistent ID

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 308 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 03/05/2016 at 18:29, xxxxxxxx wrote:

      Is there any way to get an ID or Handle from a tag that is unique and doesn't change, even if the document is saved, closed and opened again later?

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

        On 04/05/2016 at 01:26, xxxxxxxx wrote:

        Hello,

        there is no build-in ID that is consisted the way you demand it. You could try to add a custom ID to the tag and store it in the tag's BaseContainer.

        Best wishes,
        Sebastian

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

          On 04/05/2016 at 01:54, xxxxxxxx wrote:

          Yeah, that was my first idea.
          I think I will add a new BaseContainer to the tag, with the same ID as my plugin.

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