Placing selected objects into separate collections in Blender

We may need to place each scene object into its own separate collection when optimizing the scene, or when creating an asset library. A simple script can help us quickly perform such an operation.

Let’s create separate collections and place the selected scene objects into them.

First we need to loop through each selected object:

For each object we will create a new collection. Set the collection name to the same as the name of the object itself:

We will add the created collections to the current active collection of the scene:

Now, all we have to do is place the object in the created collection:

The full code:

0 0 votes
Article Rating
Notify of

0 Comment
Inline Feedbacks
View all comments