Allow Datapaths in Geometry Nodes inputs
So i have an array modifier going before GeoNodes modifier and i want to know how many array copies i added inside GeoNodes because my calculations depend on that. i want to be able to copy an Array Count Datapath from modifier which is
bpy.data.objects["Plane"].modifiers["Array"].count
in my case and paste it into GeometryNodes modifier input.
And that should work with other datapaths too
.
3 Comments
Maybe better a node inside GN that let you expose atributes from the object including the modifiers it carry before the GN Modifier?
That's also a good idea but i believe copy-pasting a datapath is a bit easier to code and realise. With datapaths you can also retrieve an attribute from one object and use it in GeoNodes input of a completely different object.
I think this is already possible, the request just describes drivers: docs.blender.org/manual/en/latest/animation/drivers/index.html