Timeline for Accessing Geometry Nodes Attributes in Drivers
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 10 at 8:29 | vote | accept | Robin Betts | ||
| Feb 2, 2022 at 15:10 | answer | added | RedMser | timeline score: 2 | |
| Nov 3, 2021 at 12:00 | history | tweeted | twitter.com/StackBlender/status/1455867374217871362 | ||
| Nov 3, 2021 at 11:17 | comment | added | Chris | @Gorgious: that’s how developer are doing….😅 | |
| Nov 3, 2021 at 11:12 | comment | added | Robin Betts | @Gorgious doooooooH ! | |
| Nov 3, 2021 at 11:08 | comment | added | Gorgious | Nope nothing fancy I just added return after the first line then tried to run it, then moved it one line further until it hung :p | |
| Nov 3, 2021 at 11:07 | comment | added | Robin Betts | @Gorgious Thanks for your work on this! (If only I had hair :D ) How did you locate the hang? A debugger? | |
| Nov 3, 2021 at 10:37 | comment | added | Gorgious | Testing shows the function hangs on ev_dg = C.evaluated_depsgraph_get() : As most of the time in python scripting for Blender, the main culprit of hair pulling is incorrect context. I gather bpy.context is not good right there. Not the same tool but you may have better luck with this kind of implementation (handlers instead of drivers) blender.stackexchange.com/a/183440/86891 | |
| Nov 3, 2021 at 8:25 | comment | added | Robin Betts | @Gorgious sorry, that should be a 'Geometry' level domain: 1 attribute per hunk of geometry. | |
| Nov 3, 2021 at 8:10 | comment | added | Robin Betts | @Gorgious I was just wondering if there was such a thing as a declared 'Whole Object' domain for an attribute, from within GN, which would save duplicating a value as a layer across all elements of a geometry domain. If I use, say, an Attribute Statistic result as an output, that may have to be stored only once, for the mesh. | |
| Nov 3, 2021 at 8:02 | comment | added | Robin Betts | @chris I tried using v_attr('Plane', 'v_test').y in a scripted expression, to drive the Z location of an Empty. The result, for me, was a hang of (Linux) Blender 3.0b, requiring a kill of the Blender process. | |
| Nov 3, 2021 at 7:19 | comment | added | Gorgious | All the mesh attributes store the same value ? Because then you can use a custom property instead like you would on a regular object | |
| Nov 3, 2021 at 3:55 | comment | added | Chris | may i ask where you added your driver to ? | |
| Nov 2, 2021 at 21:20 | history | asked | Robin Betts | CC BY-SA 4.0 |