On 25/06/2017 at 17:04, xxxxxxxx wrote:
Hello,
Silly question:
I'm trying to retrieve selected objects in order. This normally works fine if they are picked individually, but if I shift-select a range in the Object Manager, the list is not in order.
selected = doc.GetActiveObjects(c4d.GETACTIVEOBJECTFLAGS_SELECTIONORDER)
order in Object Manager, shift selected top-to-bottom:
Cube.7
Cube.6
Cube.5
Cube.4
Cube.3
Cube.2
Cube.1
Cube
order of selected list:
Cube.7
Cube.1
Cube.2
Cube.4
Cube.3
Cube.5
Cube.6
Cube
Seems to always get the first and last correct, but not the ones in between.
Hopefully I just missed something obvious. C4D R18.048