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

    Current C4D Object ID #'s and Type Descriptor string list --Where is one?

    Cinema 4D SDK
    r20 python
    3
    7
    1.6k
    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.
    • T
      Thom0ne
      last edited by r_gigante

      Hello,

      I end up losing so much time trying to find it. After another lost hour I thought, I am sure there must be one available for those needing it.

      Thank you,

      Thom

      1 Reply Last reply Reply Quote 0
      • T
        Thom0ne
        last edited by

        There is a nice graphic at this site. However, I’m sure a precise and complete listing of the R20 objects is posted as part of the API. Right?

        1 Reply Last reply Reply Quote 0
        • T
          Thom0ne
          last edited by Thom0ne

          Also, I have located this listing of object type descriptions here. However, no type ID’s. I do know that objects can be dragged into the console to be identified — however a complete listing if available would save everyone time. Why would there not be one?

          1 Reply Last reply Reply Quote 0
          • M
            mp5gosu
            last edited by mp5gosu

            There is one. Just take a look at your symbols.h file in resources directory.
            In prior versions it was called coffeesymbols.h

            T 1 Reply Last reply Reply Quote 2
            • S
              s_bach
              last edited by s_bach

              Hello,

              currently there is no such a list with all components of Cinema 4D, their IDs and (optional) symbols. But we will try to improve the documentation in the future.

              You can easily get the ID of all objects by simply checking all plugins of this type:

              foundPlugins = c4d.plugins.FilterPluginList(c4d.PLUGINTYPE_OBJECT,True)
              
              for plugin in foundPlugins:
              
                  print(plugin.GetName() + ": " +  str(plugin.GetID()))
              
                  plugin = plugin.GetNext()
              

              Please also notice to post questions on the Cinema 4D SDK in the "Cinema 4D Development" subforum. You can add tags to your post to inform the community about your specific situation (version, programming language). Also you can mark a post as a questions. See "Read Before Posting".

              best wishes,
              Sebastian

              MAXON SDK Specialist

              Development Blog, MAXON Registered Developer

              T 1 Reply Last reply Reply Quote 2
              • T
                Thom0ne @s_bach
                last edited by

                @s_bach Thanks, for the clarifying comments and the trick to programmatically derive a listing. I also went back and read the 'Read Before Posting'. Thom.

                1 Reply Last reply Reply Quote 0
                • T
                  Thom0ne @mp5gosu
                  last edited by

                  @mp5gosu Thank you, that is a good tip. I see that Onull=5140 is listed and it looks like all others are in there too! Thom

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