oInstance enable parameter



  • 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



  • 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.


Log in to reply