setting inactive object ?



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

    On 10/08/2007 at 02:27, xxxxxxxx wrote:

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

    ---------
    can change object display mode  to other by separate settings in the display tabs , that under the view settings of mode menus. Now I would like to implement the function with c++.  can anyone help me?



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

    On 10/08/2007 at 03:13, xxxxxxxx wrote:

    Here the code to set parameters in the Display tag. You have to use SetParameter() on the Display tag.

      
    GeData d(TRUE);  
    tag->SetParameter(DescLevel(DISPLAYTAG_AFFECT_DISPLAYMODE),d,NULL);  
    d = GeData(DISPLAYTAG_SDISPLAY_HIDDENLINE);  
    tag->SetParameter(DescLevel(DISPLAYTAG_SDISPLAYMODE),d,NULL);  
    

    You can find the IDs for the different modes in the "tdisplay.h" file.

    cheers,
    Matthias


Log in to reply