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
    • Register
    • Login

    oInstance enable parameter

    SDK Help
    0
    2
    436
    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
      Helper
      last edited by

      On 21/03/2018 at 03:22, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   19 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hello !

      I am writing a C4D parser and need to correctly handle the visibility state of instance.

      I am looking for the parameter ID that matches the enabled setting which is in the basic panel for instance object.
      I look oinstance.h file but this parameters ID seems missing.

      Any idea of how can I access to this data?

      Thanks,
      Manuel

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

        On 22/03/2018 at 04:08, xxxxxxxx wrote:

        Hi manuel,

        The Enabled parameter of objects is ID_BASEOBJECT_GENERATOR_FLAG defined in obase.h resource header.
        Instead of directly accessing this parameter it's recommended to use BaseObject::GetDeformMode()/SetDeformMode(). See BaseObject Manual.

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