Visibility of ID_BASEOBJECT_XRAY/GENFLAG



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/08/2004 at 06:27, xxxxxxxx wrote:

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

    ---------
    I tried to hide some parameters ob OBase. Works fine, only with ID_BASEOBJECT_GENERATOR_FLAG and ID_BASEOBJECT_XRAY it doesnt work.
    Take a look at OBase.res, these parameters are defined as HIDDEN, but they are displayed. I use GetDDescription to overwrite DESC_HIDE of some parameters. If I do so with XRAY/GENERATOR, they are still displayed.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 30/08/2004 at 06:39, xxxxxxxx wrote:

    Another thing with hiding parameters...
    pdescentry = description->GetParameterI( DescID  ID_BASEOBJECT_ROTATION ), NULL );
    pdescentry->SetBool( DESC_HIDE, TRUE );
     pdescentry = description->GetParameterI( DescID( ID_BASEOBJECT_SCALE ), NULL );
     pdescentry->SetBool( DESC_HIDE, TRUE );
     pdescentry = description->GetParameterI( DescID( ID_BASEOBJECT_POSITION ), NULL );
     pdescentry->SetBool( DESC_HIDE, TRUE );
    If I hide the koordinates, and then click the generator flag in the attribute manager, cinema crashes. If I click the generator flag in the object manager, ot works fine...


Log in to reply