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

    Selection Object

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 231 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/08/2008 at 20:59, xxxxxxxx wrote:

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

      ---------
      Is it possible to restore the selection of a selection object in coffee? Ultimately, I'm trying to select a set of joints and then use the Align command. I figured it would be easier to use the selection object to pre-bundle the joints. If it's not possible to perform the restore selection, how would one go about selecting a set of objects?

      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 22/08/2008 at 01:42, xxxxxxxx wrote:

        You have to set the BIT_AOBJ bit. See following script, it selects all objects of a document.

        > \> StepThru(op) \> { \>      while(op) \>      { \>           op->SetBit(BIT_AOBJ); \>           StepThru(op->GetNext()); \>           op = op->GetDown(); \>      } \> } \> \> main(doc, op) \> { \>      StepThru(doc->GetFirstObject()); \> } \>

        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 22/08/2008 at 17:31, xxxxxxxx wrote:

          Thank you very much Matthias, that works perfectly.

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