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

    Python Generator Type Name?

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 366 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 26/08/2016 at 03:14, xxxxxxxx wrote:

      Does anyone know if the Python Generator has a type name? In Python Generator using results in:

      print op.GetType()
      \>>> 1023866
      

      I know I can use 1023866 to make a Python Generator but is there no easy to remember name such as Onull or Ocube?

      Thanks

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

        On 26/08/2016 at 05:21, xxxxxxxx wrote:

        I searched for 1023866 in
        C:\Program Files\MAXON\CINEMA 4D R17\frameworks\cinema.framework\source\
        and found defined in opython.h

        #define Opython 1023866

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

          On 26/08/2016 at 06:02, xxxxxxxx wrote:

          I couldn't find any Opython ID in vars(c4d) either so I guess it's just not set, I'll just stick to GetType().

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

            On 29/08/2016 at 02:38, xxxxxxxx wrote:

            Hi,

            we'll try to fix the missing symbol with one of the next updates.

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