User avatar
By Ernesto
#372749
Is it possible to link layer states to cameras?
I mean that I would like to have for instance layer 1 on and layer 2 off for Camera_A, and layer 2 on and layer 1 off for Camera_B automatically?

Ernesto
User avatar
By Mihnea Balta
#372761
You can do that with layer overrides. First, set layer 1 to on and layer 2 to off. Then create a new layer containing all the objects in the scene. Right click the enable checkbox of each material layer and select "create layer override". Disable layer 1 and enable layer 2. Use Camera_A in the default render layer and Camera_B in the layer with the overrides. You can then select which render layer is active in the render settings.

Sometimes the "create layer override" option doesn't show up in the menu. This is a Maya issue, but there's a simple workaround: instead of doing it through the menu, you can run this command:
Code: Select all
editRenderLayerAdjustment "maxwellLayer1.enabled"
Make sure to replace "maxwellLayer1" with the name of the material layer you want to change. You can find that out by clicking the enable checkbox and looking in the script editor, where Maya will show the MEL command which corresponds to the enable/disable action, e.g. setAttr "maxwellLayer2.enabled" 1.
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]