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
    • Recent
    • Tags
    • Users
    • Login

    R13: Fold and unfold the tree in object manager

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 228 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 21/09/2011 at 05:03, xxxxxxxx wrote:

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

      ---------
      Hello,

      if a add a baseobject to the base document with InsertObject() as a child, the new sub tree is closed. I like to unfold this sub tree but I don't know how?😢
      😢
      regards
      Marky

      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 21/09/2011 at 08:44, xxxxxxxx wrote:

        Please have a look at these bits:

        NBIT_OM1_FOLD
        NBIT_OM2_FOLD
        NBIT_OM3_FOLD
        NBIT_OM4_FOLD

        Enable/disable these bits to fold/unfold objects in the object manager (OM). There are four bits because there are up to four OMs.

        Example, toggles the fold status:

          
        op->ChangeNBit(NBIT_OM1_FOLD, NBITCONTROL_TOGGLE);  
        op->Message(MSG_CHANGE);  
        EventAdd();  
        

        cheers,
        Matthias

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