BPY plus – objects module

A BPY plus module to simplify work with 3D objects.


select_all(context=bpy.context):

Select all objects in the scene

Parameters:

context: context


deselect_all(context=bpy.context):

Remove selection from all objects in the scene

Parameters:

context: context


set_active(obj, context=bpy.context):

Set object “obj” as active

Parameters:

obj: object

context: context


duplicate(obj, data=True, actions=True, collection=None, context=bpy.context):

Create object’s copy

Parameters:

obj: object

data: Tue – copy object’s data, False – link

actions: Tue – copy object’s actions, False – link

collectoin: collection to place an object’s copy None – to active collection

context: context

Returns:

object’s copy

 

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments