[Addon] Unlimited layers with "Magic Layers"

Hi ,

Your addon have a traceback with my Blender 2.75 trunk official 07-07-0215 hash c27589e:
Traceback (most recent call last): File “/home/patrinux/.config/blender/2.75/scripts/addons/magiclayer03.py”, line 342, in magiclayer_scan
layer.count2=layer.count2+1
AttributeError: Writing to ID classes in this context is not allowed: Scene, Scene datablock, error setting magiclayer.count2

Infos in signature.

Thank you so much!!! this awesome!!

Thank you so much!! Thise is awesome!

-I am using the Blender Renderer.

I am using magiclayer03.py.

-I use <+> to add a new magic layer, then I select my Object with the <rmb> right mouse button.
Then I select the Magic Layer text name from the list, and click the <green tick> to set my selected
object to that layer.

-I have tried selecting each magic layer text name and then clicking the camera, and the black check, for each magic layer, in an attempt to enable all my magic layers.

-Beyond this point I have problems. I press the <Animation Render> button, and Blender only tells me that “all render layers are disabled”, with me having disabled the initial, defaulting render layer for the old render layers’ system.

How do I fix this situation so that I can standard (image render) and animation render with magic layers?

Magic Layers - Animation.blend (1.05 MB)

-Is it possible for someone to address my magic layer detection issue as a reply here, please?

I’ve had trouble getting the Blender renderer to recognize and aprehend
Magic Layers. Can someone reply to me who can help?

-I have had a reply on this. Thank you, relevant people out there.

-The 031 version here of the add-on doesn’t have tooltips on the buttons when they appear in blender, so I don’t have any idea
how to run it.

-What exactly does this addon now allows?

-Does this addon allow
*an infinite number of layers
*z-index layer stacking for multiple layers in a 4th Integer dimension?
*sharing of material references between different layers, still?

I think most natural way to organize your scene is with outliner and making layers there like this addon https://blenderartists.org/forum/showthread.php?420689-Addon-group_layer

This is essentially the nature of what I am presently at:

Group Layer Test.blend (555 KB)

-The group layers addon system seems to allow for parenting, so far,
which the Magic Layer system presently does not.

-IS there any requirement to create a _root Group Layer
on something like an Empty Set of axes? Will things
still work if I don’t do a _root Group Layer?

-When these planes are entirely coincident, I would like an infinite
number of layers system to prioritise stack coincident planes
with marked Freestyle Line Edges, like this model. However
I want some edges and plane regions to be included and excluded,
contingent on an Integer stacking order.

Can the add-on be altered to include this priority stacking?
Can it also be tidied up to automatically handle the “_root”
thing, away from the user?