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

    Distinct geometry objects from others?

    Cinema 4D SDK
    2
    3
    365
    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.
    • indexofrefractionI
      indexofrefraction
      last edited by indexofrefraction

      Hi,

      is there a simple and safe way to distinct
      between non-gemetry objects (like for example nulls/deformers/etc)
      and objects having geometry (polygon/loft/sweep/etc) ?

      possibly including special cases like generator plugins etc

      best, index

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Hi index, thanks for reaching out us.

        With regard to your issue, you can defintively tak advantage of the BaseObject flags which can be queried by using the GeListNode::GetInfo().
        Finally, if you're are only interested in object that generate polygons, you can further refine the analysis by checking the existence of the cache.

        Best,

        1 Reply Last reply Reply Quote 1
        • indexofrefractionI
          indexofrefraction
          last edited by

          thanks a lot!
          for others and myself here a reference to the python SDK

          https://developers.maxon.net/docs/py/2023_2/modules/c4d/C4DAtom/GeListNode/BaseList2D/index.html#BaseList2D.GetInfo

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