GetActiveObjects 2nd parameter dont work

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

On 08/09/2007 at 08:32, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   10.111 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
GetActiveObjects 2nd parameter ( Bool) dont work.
This written in documentation :
Bool childs   If _<_a class=silent href= "mk:@msitstore:h:\digital%20arts\c4d_sdk\c4dr10sdkchm2007-01-25.chm::/pages/ge_math/enum_boolconstants96.html#true1"_>_TRUE then children are also added to selection , provided that they are selected. Otherwise only the topmost parent in each chain is added
Actually 2nd parameter just ignored, and this function always works like 2nd parameter is FALSE

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

On 09/09/2007 at 03:45, xxxxxxxx wrote:

...provided that they are selected....

This means, only children that are selected will be added to the AtomArray!

It´s no bug it´s the intented behavior.
If you want all selected objects and their children, then go thru the hierarchy yourself and check with GetBit(BIT_ACTIVE) if a child object is selected and add it to the atom array yourself. 🙂