I let a script generate several objects and parent them under another objects. Unfortunately, all the new objects are put into layer 0, not the layer where the parent is. How can I query/set the layer of/for an object? m.