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

    Check if object enabled

    Cineware SDK
    c++ sdk
    2
    3
    1.1k
    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.
    • yesbirdY
      yesbird
      last edited by

      Hi,
      In my export utility I'm using following method to check if object should be rendered:

      Int32 BaseObject::GetRenderMode(void)
      

      Could you please point me the method that shows if object is enabled (see attached image) ? Unfortunately, I can't find it in documentation.

      c82d02f1-fd8a-4afb-99b9-89b499859582-image.png

      Thanks in advance,
      ....
      YB

      --
      YB

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @yesbird
        last edited by

        Hello @yesbird,

        Thank you for reaching out to us. The checkbox you are talking about is the parameter ID_BASEOBJECT_GENERATOR_FLAG. The parameter is "sort of" documented for C++ here, but for resources, it is often best to use the Python documentation, as its resource documentation is much nicer. I would recommend also visiting this thread from roughly two weeks ago, as we also discussed ID_BASEOBJECT_GENERATOR_FLAG there and the unusual circumstances this parameters operates with.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        yesbirdY 1 Reply Last reply Reply Quote 0
        • yesbirdY
          yesbird @ferdinand
          last edited by

          Hi, @ferdinand
          Many thanks for accurate and detailed response, ID_BASEOBJECT_GENERATOR_FLAG works like a charm !
          ....
          YB

          --
          YB

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