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

    Folding an object

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 379 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 04/06/2012 at 05:11, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   13 
      Platform:      Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I'm trying to fold an object that has children, using COFFEE.
      For that, I'm using:

      op->SetBit(BIT_OFOLD);
      op->Message(MSG_UPDATE);

      But it is not working. any help would be appreciated.

      Rui Batista

      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 04/06/2012 at 06:21, xxxxxxxx wrote:

        Afaik BIT_OFOLD is deprecated. There are four fold bits, one for each of the four object managers in Cinema (NBIT_OM1_FOLD ... NBIT_OM4_FOLD). I'm afraid COFFEE doesn't support it.

        cheers,
        Matthias

        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 04/06/2012 at 06:38, xxxxxxxx wrote:

          I also tried those and they don't work. Also, using them, automatically selects the object.
          So, it is impossible to fold an object using COFFEE?

          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 04/06/2012 at 07:31, xxxxxxxx wrote:

            I asked this same question years ago on CGTalk. But nobody ever replied to it.
            This is the only way I've found to Fold&Unfold with Coffee:

            CallCommand(100004803); // Fold Selected  
            CallCommand(100004802); // Unfold Selected  
            

            -Scott

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