Questions tagged [collections]

Collections were introduced in Blender 2.8 to replace object layers and groups as a scene organization tool. Use this tag for questions about 2.8 or later Collections. Use this tag for questions about using Collections.

Filter by
Sorted by
Tagged with
1
vote
2answers
880 views

How can I quickly find the collection an object belongs to?

I'm building a complex model that has many collections. Sometimes I add a new mesh to my model and it gets attached to the last collection I was working with. I need to move it to the appropriate ...
3
votes
0answers
137 views

Blender Python: Access Selected Collections?

How would I go about accessing the list of selected collections? It seems as though the selection state of collections is something specific to the Outliner? But I can't seem to find anything in the ...
6
votes
1answer
5k views

How to show collections in blender 2.8

I was creating a project in blender 2.8. I unintentionally pressed the 1 button, and now only one of the objects (each object is inside a collection) appears on the screen. All other objects are ...
3
votes
0answers
929 views

In blender 2.8 how do I make a scene-local instance of a collection after creating a linked scene?

I first discovered some workflow shortcomings of blender 2.8 when I asked " In blender 2.8 how do you make a local instance of an object in use by multiple scenes? " Now that I understand collections ...
0
votes
2answers
540 views

Animate collection instance (material) independently?

I have an object collection (let's call it a Red Cube for simplicity) which has a "blinking" animation (via emission material + keyframed mix shader). Now, I want to create several instances of that ...
3
votes
1answer
2k views

Blender 2.81: How do I mirror a collection of objects, instead of a single object, across the center pivot?

So Object Modifiers only work on objects, or is there some way to make them apply to a Collection as well?
0
votes
0answers
146 views

Create Mesh op in a certain collection?

If you have a python script in Blender 2.8 that uses a primitive mesh generator like bpy.ops.mesh.primitive_ico_sphere_add(collection="???") It will be created in the active selected (in outliner) ...
0
votes
1answer
453 views

Object Organization - Hierarchies, collections, groups, empties?

If I want to organize my sub-components into a convenient hierarchy in 2.8, what is the best approach? Should I use collections, groups, empties, or simple parenting? First, I haven't been able to ...
1
vote
0answers
36 views

Preserve background images when isolating object

In Blender 2.79 background images would remain visible when isolating a single object. Now that they are technically objects themselves, they also disappear when isolating a specific object or hiding ...
1
vote
1answer
1k views

Indirect Only filter for Collections not supported in EEVEE?

does anyone know if the indirect only button is unsupported in EEVEE? It works perfect in Cycles to bypass rendering a collection except for reflections, but in EEVEE it appears to do nothing. Thanks!...
0
votes
1answer
516 views

Can't select or interact with downloaded objects unless in edit mode

need some help. I downloaded this free car model, and everything worked great until i tried to move it around. It is made of many parts so I selected everything with A and tried to rotate the whole ...
10
votes
1answer
15k views

Is there a way to select all the objects inside a collection?

Is there a way to select all the objects inside collection using shortcut?
0
votes
0answers
26 views

How do I paint all of my objects in collection to different colors via python?

I want every object in my collection to have different color. How do I make it via python scripting?
0
votes
1answer
968 views

Blender 2.8 How do I set object/collection active and apply my script for each of collection's objects in via python?

I have a collection of leaves in my scene which calls Lines: Here's a little snippet that creates another leaf from leaf and randomize it: ...
0
votes
1answer
47 views

Is this expected behaviour for 'remove from all unlinked collections'?

I executed 'remove from all unlinked collections' command on a cube and the active object disappeared in viewport and I found it in orphan data. I tried to move the orphan object to scene collection ...
5
votes
2answers
10k views

How can I use 'create new collection' command?

I create a collection with 'create new collection' command but the new collection did not appear in scene collection. And I found it in 'orphan data'. I tried to move the new collection(test) to scene ...
1
vote
1answer
104 views

What's the difference between 'unlink' and 'remove' from collection?

I did 'unlink' and 'remove' respectively, but really don't know how the two are different. What's the difference between them?
2
votes
1answer
645 views

Is it possible to create a particle system which uses collection of objects or merge a collection into 1 object?

I have a collection which contains 5 leaf objects and 1 carrot object, is it possible to merge it in one object or just use a collection for a particle system?
0
votes
1answer
1k views

Remove/Add Collections per render layer with Eevee

I was able to choose which layer was rendered when using 2.79 Now that things are called collections, and layers are... layers. I can't exclude collections from certain renders while at the same time ...
2
votes
1answer
3k views

Python Script to import obj and create collections [duplicate]

I’m having trouble updating a script that worked in Blender 2.7 over to 2.8. Since Scene Layers have been changed over to Collections. The script takes all the OBJ files from a location and brings ...
6
votes
3answers
3k views

How to obtain the parent of a collection using Python

The Blender 2.8 Python API allows me to retrieve all child collections of a collection using its children property. Given the following collection hierarchy ...
1
vote
0answers
289 views

Baking using Collection Instances (or Object face duplication) does not work

I'm setting up a 'Tiled texture studio', to do so I have set up a collection at 0,0,0 with numerous objects. I then create Collection instances at equal x and y offsets around the tile area. When I ...
3
votes
2answers
1k views

Link collection from external .blend in 2.8 via python

I tried to recreate the File->Link...->somefile.blend->Collection->Collection linking mechanism in Blender 2.8 (Release canditate) in a script. Unfortunatley my linking code does not behave like when ...
1
vote
1answer
693 views

Change Object Index of Objects in a Collection Instance

If you make instanced copies of a bunch of objects (alt+D), then it is possible to give them different Object Indices from their originals. This is useful if you are using Object Index as a mix factor ...
0
votes
1answer
2k views

Transfer selected objects to a collection doesn't work

The M button does not work and does not allow me to transfer the selected objects to the collection If several objects are selected via lasso or box and not one object at a time using the Shift key, ...
2
votes
1answer
229 views

Groups not being converted to Collections

When I open pre-2.8 files in 2.8 the layers are being converted to collections, but the groups are not. Is there a way for 2.8 to convert groups from older files to Collections?
5
votes
2answers
12k views

How to list all collections and their objects?

I have a scene with 2 collections of 4 objects each. I am trying to get all collection names and their objects' names. Unfortunately, info panel nor python hints have not been helpful to find the ...
2
votes
1answer
416 views

Change origin of collections

I am trying to animate a fbx imported file originally made in solidworks, since it was made in solidworks all the parts are in different layers. In order to change the rotation pivot I need to change ...
3
votes
1answer
642 views

Data gets orphaned when grouped into a collection (2.8+)

Has anyone come across a similar situation where creating a collection using ctrl-g (call it 'Collection 2') then removing that object's 'Collection 1' now results in that object needing to be ...
2
votes
0answers
252 views

Meaning of selected object outline in 3D view

I was trying new Collections feature in Blender 2.8 and somehow can't get consistent understanding what do outline colors of selected objects mean. Here is my scene setup: created three "asset" ...
5
votes
3answers
2k views

How can I exclude a collection from rendering with Python?

Can anybody help me write a script that excludes certain collections (for rendering)? In the outliner the tooltip says: Layer.Collection.exclude and ...
2
votes
2answers
2k views

How to set active 'Scene Collection'

How to set active 'Scene Collection'? bpy.context.view_layer.active_layer_collection = bpy.data.collections['Master Collection'] not working.
3
votes
1answer
873 views

How to hide/show Collections levels with python?

how do we hide show a collection in blender 2.8 let say that this is the path to my collection bpy.data.collections['SCATTER: [Plane.001] Particles']
0
votes
1answer
471 views

Select object from within collection

Can anyone tell me how I can choose an arbitrary object from within a collection? My script leaves me with nothing active (or selected) at one point, but I need something to be active. I have the ...
4
votes
2answers
2k views

disable render of all collections with python in blender 2.8

I am trying to disable all collections in the render with python in Blender 2.8 It works on top-level collections with the code below, but ignores nested collections. ...
1
vote
0answers
120 views

Attaching freestyle styles to a list of collections

I have a simple project with multiple collections. I would like to use three different freestyle styles applied to different collections. Say, I have collections numbered from $1$ through $10$ and ...
4
votes
1answer
2k views

Portal effect in EEVEE?

So I'm trying to make a portal effect for an animation, and unfortunately the only way i know of for doing this effect is by using layers and the compositor in 2.79, which were replaced with the ...
14
votes
1answer
5k views

How to Change the Origin when moving a Collection Instance

I have created an Collection Instance, when I try to move it, the origin(to snap at vertices or edges) is far away from the object, I want to set it. In the image, the Collection Instance is selected,...
3
votes
2answers
5k views

How can I converted a linked collection to a local collection?

I would like to switch some materials of my linked collection, but how can I instanciate it so I can edit those materials? Will the meshes remain linked? Thanks!
2
votes
4answers
14k views

2.8 - Is it possible to assign (override) a material to a whole collection?

I have a collection that contains linked assets. I would like to override their materials and give them a unique material. Is it possible to assign a material to a whole collection, and how ? Thanks !...
4
votes
2answers
4k views

How to get the collection an object belongs to?

I can access objects belonging to a collection like so: objects_in_collection = bpy.data.collections["My_Collection"].objects How can I access the collection a ...
1
vote
0answers
289 views

blender 2.8 : temporarily show all visible objects in the scene

When dealing with collection, the object in the 3d viewport will be visible depends on current selected view layer. Some objects won't be visible as they have been excluded from current view layer. ...
2
votes
1answer
6k views

In 3d viewport , how can i add object to new collection without it's being unlinked from current collection?

I want to do 'add' the selected object to new collection while also keep it still linked to current collection so it will be part of 2 or more collections at the same time? I can do this using ...
1
vote
0answers
31 views

Won't open blend file with links to other blend files

I have a master blend file which links to some other blend files. I did some cleanup work in one of the linked blend files, and tidied up some names, including changing the collection name. When I ...
1
vote
1answer
419 views

Replace Every instances of an object by a 2.79duppligroup / 2.8CollectionInstance?doing this trough python?

hello i want to replace every instances of my asset with a 2.79duppligroup / 2.8CollectionInstance, with the same roientation and scale but i found no way to do this !? ctrl L dont work, = am i ...
3
votes
4answers
11k views

Whats the Blender 2.8 command for adding an object to a collection using python?

I currently have a method that does: self.myCol = bpy.data.collections.new(self.collection_name) bpy.context.scene.collection.children.link(myCol) This method ...
1
vote
1answer
427 views

Need help moving a set of cubes from one end to the other on x-axis with python scripting

I am currently using blender 2.8 and I am trying to make a scripted animation where I move a set of cubes from one end to the other on the x-axis with delays in between animations. This isn't really ...
7
votes
1answer
37k views

How do I make groups in 2.8?

In the Blender Guru Donut tutorial he made a sprinkle for a donut. He copied that sprinkle and made a smaller version of it. He Shift selected both and made a group with the shortcut Ctrl+G. When I do ...
2
votes
1answer
2k views

Use a collection as object inputs in Animation nodes

i;m trying to use animation nodes for the first time. I've made a sub program which does what it's supposed to (scale objects up as a sweeper object goes past them in the X axis) , but How can i make ...
5
votes
1answer
1k views

Workaround for offset of linked collection? (Blender 2.8)

Linking Suppose I have a source .blend file with object "A" within collection "A-Collection", "B" within collection "B-Collection", and "C" within collection "C-Collection", pictured below: Then I ...

1
3 4 5
6
7