24 votes

How to Change the Origin when moving a Collection Instance

First Method : Set the origin in the base collection To change the origin of a collection instance, you have to go to the object information panel, then the collections foldout and choose "set ...
Gorgious's user avatar
  • 30.8k
21 votes
Accepted

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

When you are in the 3D View, select one of the collection objects and press shiftG > Collection. In the Outliner, right click on the collection name > Select Objects.
moonboots's user avatar
  • 157k
19 votes
Accepted

How can I instantiate a procedural node group with different parameters?

What is an Instance? An instance is the reference to an existing object. This object exists only once. An instance is therefore comparable to the Duplicate Linked function. The advantage of this: The ...
quellenform's user avatar
  • 35.4k
17 votes

'bpy_prop_collection' object has no attribute 'link'?

If you are interested: As of Blender 2.8x SceneObjects.link(object) is gone due to the new collection system. You can use ...
brockmann's user avatar
  • 12.6k
17 votes

Geometry Nodes: Pick random object from collection (not instance on points)

you will be pretty disappointed...but here you go:
Chris's user avatar
  • 60k
16 votes
Accepted

How to render a collection instance but not the original collection in blender 2.8?

I have managed a way to help you with this issue. Yesterday I was trying the same thing and I realized a way to not render the original collection and only the models created with a collection ...
Manuel Medina Breton's user avatar
16 votes
Accepted

How to get the collection an object belongs to?

Object.users_collection property returns a tuple containing all linked collections: ...
brockmann's user avatar
  • 12.6k
15 votes
Accepted

How to list all collections and their objects?

You can access all collections through bpy.data.collections. The objects within the collection (and child collections) are given by ...
Robert Gützkow's user avatar
  • 25.6k
13 votes
Accepted

How can I use 'create new collection' command?

This is more or less a remnant of old functionality from 2.79 and before that doesn't make sense in Blender 2.8. The developers are aware of the issue, multiple bug reports have been filed regarding ...
Robert Gützkow's user avatar
  • 25.6k
13 votes
Accepted

Create a Collection inside another Collection with python

Each collection has a children (collection) property. Easy to figure out using the python console: ...
brockmann's user avatar
  • 12.6k
12 votes
Accepted

Blender 2.80: Delete Collection or clear the intial scene in scripting mode

Unlink all children from the scene collection Not a fan of using outliner operators in scripts. Unlinking or removing the collections from a scene will also have the same effect of clearing a scene. ...
batFINGER's user avatar
  • 84.3k
12 votes
Accepted

What is the Python code related to collection actions for blender 2.8?

Here an example i made, it will place the active object to a new collection. it's a really simple example i hope it can help the beginner (like me) out there. ...
Fox's user avatar
  • 1,892
12 votes
Accepted

How to move multiple objects into another collection?

You just have to .unlink(object) each object from all linked collections and then .link(object) each object to your target ...
brockmann's user avatar
  • 12.6k
11 votes

Change active collection

In Blender 2.80, I've had some success with something simpler that previous @johnzero7's solution : ...
rotoglup's user avatar
  • 363
11 votes
Accepted

How can I exclude a collection from rendering with Python?

Use the View Layer From the context view layer ...
batFINGER's user avatar
  • 84.3k
11 votes

How to show collections in blender 2.8

TL;DR: AltH in the Outliner (thanks @aliasguru). There are a few ways to hide/show collections in 2.8: In the Outliner area (by default there's one in the top right), clicking the eye icon toggles ...
gandalf3's user avatar
  • 157k
11 votes

How to duplicate a certain collection using Python?

API method If you know the collection you wish to dupe, and the collection you wish to parent to, consider something like below. Because a collection can have many parents, I'm not totally sure ...
batFINGER's user avatar
  • 84.3k
11 votes

Check, using name, if a collection exists in blend & is linked to scene

Check it exists and is linked to scene. IMO Two tests required here, one to test if collection exists, and secondly if it is linked at any level to the current scene. A quick test for the latter is ...
batFINGER's user avatar
  • 84.3k
10 votes

Blender 2.8: Restrict influence of Force Field to its Collection

I hope it's not too late for this answer, I just found out how to do it. In the properties of your particle system, at the Field Weights tab, there's an option named Effector Collection, select the ...
Veronica Del Rivero's user avatar
10 votes

How do I make groups in 2.8?

Groups and Layers in 2.80 were scrapped and merged into the same thing now for 2.8. These things are called Collections. Open an Outliner Editor. Click the "Display Mode" button in the ...
Mark Jackson's user avatar
  • 1,009
10 votes

How to list all collections and their objects?

Some python console code The python console is a great way to learn how the API works. For convenience C = bpy.context and ...
batFINGER's user avatar
  • 84.3k
10 votes
Accepted

How to add a modifier to a collection?

You have to join the objects together and then apply the modifier and then you can separate by loose parts. Or Add the modifier to one object. Select all the other objects and then the one with ...
Fowl's user avatar
  • 1,101
10 votes
Accepted

Unhide all collections hotkey?

Put the mouse cursor over the Collections field and press Alt+H to unhide everything.
Karl S's user avatar
  • 126
9 votes

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

Your answer is actually wrong. If your active collection is another as the main collection, when running your script the object will not be removed from this. ...
Iceflower S's user avatar
9 votes
Accepted

How to Generate a Collection of Instances in Geometry Nodes?

Put all types into Geometry to Instance node, And click on Pick Instance in Instance on Points node
Crantisz's user avatar
  • 35.4k
8 votes

Sorting Collections Alphabetically in the Outliner

Once for each collection. Just as I was about to answer this yesterday, my internet ran out, fortunately there is a bit of a point of difference. To do this once for all collections, would add the ...
batFINGER's user avatar
  • 84.3k
8 votes
Accepted

How to get all collections of the current scene?

Recursively walk the tree. Similarly to https://blender.stackexchange.com/a/137866/15543 and Sorting Collections Alphabetically in the Outliner ...
batFINGER's user avatar
  • 84.3k
8 votes

How do I mirror a collection?

You can select all objects in your collection and add a Mirror modifier to one of them: Now use Make Links → Modifiers to add the Mirror modifier to all of them: Afterwards you can use Convert to ...
3D-ited's user avatar
  • 228
7 votes
Accepted

Change active collection

The only way I could find to obtain the LayerCollection for a particular Collection is to transverse bpy.context.layer_collection looking for the name I want ...
johnzero7's user avatar
  • 359
7 votes
Accepted

How to set active 'Scene Collection'

Set active 'Scene Collection' scene_collection = bpy.context.view_layer.layer_collection bpy.context.view_layer.active_layer_collection = scene_collection
Alex's user avatar
  • 197

Only top scored, non community-wiki answers of a minimum length are eligible