Collection instance doesn't inherit exclude from view layer status #73692

Closed
opened 2020-02-09 19:27:21 +01:00 by Joakim Tornhill · 11 comments

Blender Version
Broken: Blender 2.82.6

Exact steps for others to reproduce the error
Unhide_Instances.blend

  • Open file
  • Switch to Modeling workspace

Toggle Exclude Form View Layer checkbox on Parent_stuff collection

Instances are not excluded

**Blender Version** Broken: Blender 2.82.6 **Exact steps for others to reproduce the error** [Unhide_Instances.blend](https://archive.blender.org/developer/F8332897/Unhide_Instances.blend) - Open file - Switch to Modeling workspace # Toggle Exclude Form View Layer checkbox on Parent_stuff collection Instances are not excluded

Added subscriber: @BlenderInsight

Added subscriber: @BlenderInsight
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Could you share an example .blend file?
(This way it is easier to reproduce and makes sure we are all looking at the same thing...)

"Disable from View Layer"

Are you talking about "Exclude from View Layer"?

you would like to use layers

Are you talking about View Layers (or rather Collections)?

but the instance should do as the parent does! So... if I tell the parent to go away from a layer... the instances should follow.

Not in all cases (that is if we are talking about the parent being a collection -- see question above), an instance could be in multiple collections, excluding one parent collection from the viewlayer could still have a child instance included in another collection.

Note: if you {key Shift click} "Disable in Viewports" / "Disable in Renders" on a parent collection, this will propagate to child instances in any other collection as well...

Could you share an example .blend file? (This way it is easier to reproduce and makes sure we are all looking at the same thing...) > "Disable from View Layer" Are you talking about "Exclude from View Layer"? > you would like to use layers Are you talking about View Layers (or rather Collections)? > but the instance should do as the parent does! So... if I tell the parent to go away from a layer... the instances should follow. Not in all cases (that is if we are talking about the parent being a collection -- see question above), an instance could be in multiple collections, excluding one parent collection from the viewlayer could still have a child instance included in another collection. Note: if you {key Shift click} "Disable in Viewports" / "Disable in Renders" on a parent collection, this will propagate to child instances in any other collection as well...

Unhide_Instances.blend

Hi,

Here is a small file with two layers.

  1. I did a collection of a monkey, torus and cylinder. This is called Parent_Stuff
  2. I did instances of that collection. They then got the name Parent_Stuff.001 to Parent_Stuff.006
  3. Now I will have one layer with ONLY the sun (because I'm going to blur and add a lot of effects on it in the compositor). I do not want any other things on this layer. So, I select "Parent_Stuff" -> View_Layer -> Disable from View Layer in the layer called "Only_Sun"
  4. I try to find similar things on the instances, but that option does not exist. Nor does they vanish when I select 3) on the "Parent_Stuff". I can't use "Globally deselect on render" because I want them to be in in the other layer.
  5. In my first Layer "Parent_Stuff_On", I remove the sun... but let it still shine on the things using View_Layer -> Set Indirecr only. This works fine on all instances... and the parent...and the sun is gone as it is supposed to.

So...it is number 4) I can't seem to do with instances of collections.

Br
Joakim

[Unhide_Instances.blend](https://archive.blender.org/developer/F8332897/Unhide_Instances.blend) Hi, Here is a small file with two layers. 1) I did a collection of a monkey, torus and cylinder. This is called Parent_Stuff 2) I did instances of that collection. They then got the name Parent_Stuff.001 to Parent_Stuff.006 3) Now I will have one layer with ONLY the sun (because I'm going to blur and add a lot of effects on it in the compositor). I do not want any other things on this layer. So, I select "Parent_Stuff" -> View_Layer -> Disable from View Layer in the layer called "Only_Sun" 4) I try to find similar things on the instances, but that option does not exist. Nor does they vanish when I select 3) on the "Parent_Stuff". I can't use "Globally deselect on render" because I want them to be in in the other layer. 5) In my first Layer "Parent_Stuff_On", I remove the sun... but let it still shine on the things using View_Layer -> Set Indirecr only. This works fine on all instances... and the parent...and the sun is gone as it is supposed to. So...it is number 4) I can't seem to do with instances of collections. Br Joakim
Richard Antalik changed title from Scene instance can't be disabled from View Layer to Collection instance doesn't inherit exclude from view layer status 2020-02-11 22:48:55 +01:00

Added subscriber: @iss

Added subscriber: @iss

I am not too much wiser after reading manual, but I would expect this to work in similar way as Enable in Viewports, just for active view layer.

I am not too much wiser after reading manual, but I would expect this to work in similar way as Enable in Viewports, just for active view layer.

Sorry, but I'm not following your comment, but it could me that get it wrong here.
We have different instances of collections... but they are in the same view layer... both parent collection and the instances of collections.
I'll try to hide ALL in one layer...but that is not possible.
One layer, in my example above, has only the light/sun, Another layer (with all instances) has all the objects.
So, amount of View Layers doesn't matter. I don't have the parent in one layer and try to hide instances in the other.
It does not work to hide collection instances...no matter what you do or in what layer you have them, if you do not exclude them totally from render and that is not the purpose. I need them in the render, but not together with the background :).

Sorry, but I'm not following your comment, but it could me that get it wrong here. We have different instances of collections... but they are in the same view layer... both parent collection and the instances of collections. I'll try to hide ALL in one layer...but that is not possible. One layer, in my example above, has only the light/sun, Another layer (with all instances) has all the objects. So, amount of View Layers doesn't matter. I don't have the parent in one layer and try to hide instances in the other. It does not work to hide collection instances...no matter what you do or in what layer you have them, if you do not exclude them totally from render and that is not the purpose. I need them in the render, but not together with the background :).

I have edited report title, and I think that it is pretty good summary of what you describe.

In my comment I am just saying, that behavior of that checkbox is not described in enough detail in manual to triage this report.

I have edited report title, and I think that it is pretty good summary of what you describe. In my comment I am just saying, that behavior of that checkbox is not described in enough detail in manual to triage this report.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Philipp Oeser self-assigned this 2020-02-12 11:46:06 +01:00
Member

The original collection the instances were made from, and the instances themselves are not the same in regards to their membership in viewlayers.

To set this up properly, why dont you use a parent collection for the instances?
This way you can exclude this parent collection from one viewplayer, but not the other:
Unhide_Instances_corrected.blend

Sorry, this might be still a misunderstanding, but this is how you would organize per viewlayer visibility for everything (not just instances): you would organize them in collections.
https://docs.blender.org/manual/en/dev/render/layers/layers.html#usage

I will close this for now, but feel free to comment again if issues persist...

The original collection the instances were made from, and the instances themselves are not the same in regards to their membership in viewlayers. To set this up properly, why dont you use a parent `collection` for the instances? This way you can exclude this parent collection from one viewplayer, but not the other: [Unhide_Instances_corrected.blend](https://archive.blender.org/developer/F8336179/Unhide_Instances_corrected.blend) Sorry, this might be still a misunderstanding, but this is how you would organize per viewlayer visibility for everything (not just instances): you would organize them in `collections`. https://docs.blender.org/manual/en/dev/render/layers/layers.html#usage I will close this for now, but feel free to comment again if issues persist...
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#73692
No description provided.