How to create collection through the Blender Python API

To create a new collection in the scene using the Blender Python API, we need to execute the following:

In the first line, we create a new collection with the “new_collection” name.

In the second line, we add it to the scene’s collection system under the current active collection.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments