Page MenuHome

Copy, Paste, Duplicate Render Layers
Closed, ArchivedPublic

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Blender: 2.66
Category: Render
Homepage: bartekskorupa.com
Script name: render_copy_render_layer.py
Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Render/Copy_Render_Layer
Author(s): Bartek Skorupa
Status: Open

Additional buttons above Render Layers Panel allowing to Copy/Paste/Duplicate render layers

Duplicate:
Duplicates selected render layer

Copy:
Copies selected render layer to clipboard

Copy All:
Copies all render layers to clipboard

Paste:
Pastes render layers from clipboard to active scene's render layers

Details

Type
Patch

Event Timeline

Bartek Skorupa (bartekskorupa) attached 1 file(s): Unknown Object (File).Feb 4 2013, 3:30 PM

Updated wiki info and tracker info

version 0.6:

Update according to API changes. Render Layers and Render Passes panel are now separated from render buttons. Panels names changed, so updates were needed in AddOn.

Bartek Skorupa (bartekskorupa) attached 1 file(s): Unknown Object (File).Apr 7 2013, 7:33 PM

Hi Bartek,
i noticed this in todays trunk console:

Exception in module register(): 'render_copy_render_layer.py'
Traceback (most recent call last):

File "\2.69\scripts\modules\addon_utils.py", line 312, in enable
  mod.register()
File "render_copy_render_layer.py", line 189, in register
  bpy.types.CyclesRender_PT_layers.prepend(buttons)

AttributeError: 'RNA_Types' object has no attribute 'CyclesRender_PT_layers'

Happy New Year Blending

Just discovered this add-on which would have saved me hours of work, but having errors like kopias above in 2.69.

Thanks Bartek.

Thanks again Bartek. This has been so useful. At the moment (with 2.73a) I'm not able to paste layers between files. Is that something to do with recent changes?

All the best,
Stephen.

Checked it and indeed there is an issue. I don't yet know how to solve it, but will check on it. Thanks for letting me know.

Brendon Murphy (meta-androcto) closed this task as Archived.

Closing as archived.
@Bartek Skorupa (bartekskorupa) feel free to create a new task for this addon if you resolve issues & this addon is still valid.

Hello.

I love your addon and use it every day in my projects. Unfortunately it is not working anymore and I need it really.

I am using blender 2.79. Your addon worked for some time and then stopped one day. I don't know why.
I have already made a repair installation of blender, but it has no influence.

Here is the bug error I get:

Traceback (most recent call last):
File "C:\Users\[myusername]\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\render_copy_render_layer.py", line 86, in execute
setattr(rl_copy, attr, getattr(rl, attr))
AttributeError: bpy_struct: attribute "cycles" from "SceneRenderLayer" is read-only
location: <unknown location>:-1

Thank you for help. Please rewrite your addon for the current version if possible.
It would be really great and important. I am working with 20 and more render layer combinations often...

Best wishes from germany
Chris

@Christoph Werner (Taros) If you're still struggling with the script: just add 'cycles' and 'update_render_passes' in the variable "excludes" in line 36. Does the job for me.

Hi Johannes.

"Fluppt super!"

Works great! Thank you a lot!