0
$\begingroup$

In 2.79 there is dupli_list_create and bunch of attributes to get from it:

https://docs.blender.org/api/2.79/bpy.types.DupliObject.html#bpy.types.DupliObject

According to the change log it was removed in recent version:

https://docs.blender.org/api/current/change_log.html?highlight=dupli_list

What is analog for 2.8?

$\endgroup$
2

1 Answer 1

1
$\begingroup$

From batFINGERS' answer:

Instances can be obtained from the depsgraph. https://docs.blender.org/api/master/bpy.types.DepsgraphObjectInstance.html#module-bpy.types

There is a section in

https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Scene_and_Object_API

So, bpy.context.evaluated_depsgraph_get().object_instances is a replacement for bpy.context.object.dupli_list

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .