Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    setting inactive object ?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 253 Views
    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 Offline
      Helper
      last edited by

      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?

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

        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

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