big or wrong use - GetActiveObjectsFilter [SOLVED]

On 06/02/2015 at 03:56, xxxxxxxx wrote:

Hey i try to use GetActiveObjectsFilter but the result is not filtered

only one selected object is from the type - but i get all selected objects

print doc.GetActiveObjectsFilter(True,1030427,0)
 

result : 
[<c4d.BaseObject object called 'Viper Profile/Fixture' with ID 1030421 at 0x132f5fa10>, <c4d.BaseObject object called 'Würfel/Würfel' with ID 5159 at 0x132f5fa30>, <c4d.BaseObject object called 'ST500 70/Ressource Object' with ID 1032127 at 0x132f5fa50>]

On 06/02/2015 at 06:10, xxxxxxxx wrote:

Hello,

to use GetActiveObjectsFilter() correctly one has to use c4d.NOTOK to ignore a certain test.

best wishes,
Sebastian

On 06/02/2015 at 13:34, xxxxxxxx wrote:

thanks