Selecting object instances in Blender

Instances are objects in Blender that share a single data block. They share the same geometry, material, properties, and attributes, which significantly improves scene processing and rendering speed.

We can quickly select all instances of an active object by choosing “Select – Select Linked – Object Data” in the 3D viewport menu, or by pressing Shift + l and selecting the same “Object Data” item.

Instance selection is performed by calling the “select_linked()” Blender Python API operator with the “type” parameter set to “OBJECT”:

If we want to select all instances of the currently active object in a script or add-on, we can use this operator.

Or, if we don’t want to be tied to the operator call, we can find and select all instances by a shared data block:

To select only these instances, first deselect all objects in the scene.

Then set the “select” property to True for each of instance in our list of instances.

And return the selection to the currently active object.

This selects all instances of the currently active object in the entire Blender scene.

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments