Selection Object



  • 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?



  • 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



  • 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.


Log in to reply