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

    Object Manager folded

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 512 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 18/02/2011 at 07:23, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   12 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi, first post here 🙂
      I want to get the folded/unfolded state of a selected object in the OM.

      Did so with GetBit(BIT_OFOLD) but it always returns 0.

      Now somebody told it´s because  the OFOLD command is  from older days, where there had been just one single OM.
      Can´t find any thing about different OMs in the SDK, can someone help?

      Thanks,
      Schnupps

      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 18/02/2011 at 07:57, xxxxxxxx wrote:

        I had Set- & GetBit(OFOLD); Problems, too, but I could'nt find a solution. If there is any, I would be interested in too. 😲

        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 18/02/2011 at 08:33, xxxxxxxx wrote:

          ChangeNBit()? But GetBit() etc. should work anyway imo.

          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 18/02/2011 at 08:58, xxxxxxxx wrote:

            Well, actually the problem was, that the changes are not affected in the OM.
            The Bit actually gets set properly.

            Just test this and you'll see what I mean. (C4D R12, Null-Objekt - > Userdatas, Don't forget to open the console ;P)
            If you fold the Object by yourself, the Bit obtained by GetBit doesn't change at all, as well as the Object won't fold as you youse SetBit(BIT_OFOLD);

            http://www.file-upload.net/download-3224952/BIT_OFOLD---C4DR12.c4d.html

            cheers, nux

            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 18/02/2011 at 09:35, xxxxxxxx wrote:

              yeah, I confirm it doesn't work with 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 18/02/2011 at 13:43, xxxxxxxx wrote:

                Maybe it´s possible with python to access the fold state?
                Just started with coffee and are quite happy to just understood the very basics, can not jump into python now without confusing me absolutely 😉

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