BPY plus – collections module

A BPY plus module to simplify work with collections.

Collections class

set_active(name, context=bpy.context)

Set collection active by name

Parameters:

name: collection name to set active

context: context pointer


layer_collection(name, context=bpy.context)

Get LayerCollection by collection name

Parameters:

name: collection name

context: context pointer


selected()

Returns the list of selected collections


0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comment
Inline Feedbacks
View all comments