3
$\begingroup$

I do have some meshes under a Collection and I would like to put them into an Object Instancer while maintaining the original positions (it's a cartoon tree).

Can't find a way to do this.

Thanks!

$\endgroup$
2
  • $\begingroup$ Try this: blender.stackexchange.com/questions/33706/… $\endgroup$
    – cervidae
    May 22, 2019 at 23:31
  • $\begingroup$ Instancing a Collection worked out. Not exactly the same workflow as the link, but it works. Now my objects maintain the original position. Thanks! $\endgroup$ May 23, 2019 at 16:09

1 Answer 1

6
$\begingroup$

You may use the Object Instancer node to instance a group of empties, then you can set their instance_type to COLLECTION and set their instance_collection to whatever collection you want. For instance:

Node Tree

$\endgroup$
4
  • $\begingroup$ This is amazing. Thank you. If you have time, can you elaborate a bit more about this setup? I instance empties and then trough Object Attribute Output I define some parameters... but where come from those instance_types and instance_collection inputs? Why the instance_type text input needs to be uppercase? Thanks again! $\endgroup$ May 25, 2019 at 19:03
  • $\begingroup$ @DimitriPaiva instance_types and instance_collection are just the names of the properties in the python API. Hover over any property and you will see its API name. In this case, I hovered over the properties in the Object->Instancing panel to know their names. Moreover, it being uppercase is also related to how it is defined in the API, string properties are uppercase by convention. $\endgroup$
    – Omar Emara
    May 25, 2019 at 19:39
  • $\begingroup$ Thanks @Omar. It was very helpful. Also, sorry about the delay. It has been tough weeks here. $\endgroup$ Jul 14, 2019 at 13:57
  • $\begingroup$ what i get from instancing a colleciton here is an objects list. is it possible to get access to the child of an instance? Let's say I randomly instance a few collections all over my scene and my master collection has an empty. is it somehow possible to get the emptys world position within each collection? $\endgroup$ Aug 9, 2021 at 13:56

You must log in to answer this question.

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