Hello!
I have a .fbx file that contains many different objects. Those objects are a specific order and I need to maintain that order when I import that .fbx file into Blender. Here is an example of a list of objects in that file:
- Root
- Z
- ZB
- ZA
- Y
- YB
- YA
- X
- XB
- XA
- Z
After import, children_recursive
on the Root object returns:
[bpy.data.objects['X'], bpy.data.objects['XA'], bpy.data.objects['XB'], bpy.data.objects['Y'], bpy.data.objects['YA'], bpy.data.objects['YB'], bpy.data.objects['Z'], bpy.data.objects['ZA'], bpy.data.objects['ZB]]
It seems that when objects are added to a scene, they are put in a list alphabetically.
Is there anyway to maintain the original order?
Thank you.