Timeline for Python: Create a Geometry Node set up to join multiple Objects
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 16 at 17:36 | history | edited | Cornivius | CC BY-SA 4.0 |
edited title
|
Jun 16 at 17:34 | answer | added | Cornivius | timeline score: 0 | |
Jun 15 at 21:43 | answer | added | Markus von Broady | timeline score: 4 | |
Jun 15 at 21:26 | comment | added | Cornivius | @MarkusvonBroady I assume that's manually inputting the name of each secondary object? The idea is to have a way to create it automatically based on the selected objects (or maybe the objects in a specific collection) without knowing the names beforehand. The pic is just an example, I'd use this in situations where there could be several dozen objects. That's why I don't do it manually from the node editor. At the moment I usually merge all the secondary objects by using a boolean but that's not ideal in every situation and causes a lot of lag when doing modifications | |
Jun 15 at 21:19 | comment | added | Markus von Broady |
If you can do that for one object, why wouldn't you be able to do it with multiple objects? So the question is really how to do it at all, not how to do it to multiple objects, correct? All you need to do is to create a new node node = D.node_groups['Geometry Nodes'].nodes.new('GeometryNodeObjectInfo') and set its attribute to an object node.inputs['Object'].default_value = D.objects['Cylinder.003']
|
|
Jun 15 at 21:11 | history | asked | Cornivius | CC BY-SA 4.0 |