Object selection in COFFEE

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/10/2004 at 03:35, xxxxxxxx wrote:

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

---------
How can I get the list of selected objects in COFFEE?
Is it possible to select an object via code?

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/10/2004 at 03:48, xxxxxxxx wrote:

Use obj->GetBit(BIT_AOBJ) to see if an object is selected and obj->SetBit(BIT_AOBJ) to select an object. There's no direct way to get a list of selected objects, but you can easily loop through all objects in the scene.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 14/10/2004 at 05:43, xxxxxxxx wrote:

It works fine, thanks alot Mikael...