active Objects SELECTIONORDER
-
On 08/06/2013 at 04:20, xxxxxxxx wrote:
Hi
I try to create objects with inexcludelist to save selection of objects
I try to active object by
doc = c4d.documents.GetActiveDocument() imax = node[c4d.FG_Fixtures].GetObjectCount() i=0 c4d.CallCommand(100004767) while (i < imax) : op = node[c4d.FG_Fixtures].ObjectFromIndex(doc, i) doc.SetActiveObject(op, mode=c4d.SELECTION_ADD) c4d.EventAdd() i=i+1
but when i grap the active objects by
allactivefixtures = doc.GetActiveObjects(c4d.GETACTIVEOBJECTFLAGS_SELECTIONORDER)
the order of active Objects is not the same
has one an idea ?
-
On 08/06/2013 at 04:37, xxxxxxxx wrote:
I have never used that special flag yet, but if you just want to retrieve the order of the
Objects in your InExlcude list, why don't you store that order in a class reference and
just select the objects as a visual clarification for the user if needed.
_
_