I'm trying to access in a driver the custom property of an object using self
as I don't need to specify manually the object everytime. However, I can't find the appropriate syntax, I always get errors:
$\begingroup$
$\endgroup$
9
-
1$\begingroup$ aah...just realized your are "in" geometry nodes. ...nope that doesn't work $\endgroup$– ChrisMar 14, 2022 at 11:42
-
$\begingroup$ this works in "normal" fields of the object - like x, y, scale etc. $\endgroup$– ChrisMar 14, 2022 at 11:42
-
$\begingroup$ but what works is this: [1]: i.stack.imgur.com/LVp6i.png $\endgroup$– ChrisMar 14, 2022 at 11:43
-
$\begingroup$ @Chris Argh, too bad (I also tried in Materials, it also fails). I'm aware of your proposed solution, but it requires me to pin the object. So it's a bit annoying to use, for instance it complicates how I can reuse my geometry nodes (I need to make it an input of the geometry node, and add everytime the driver from the modifier tab)... There is no more efficient solution I guess? $\endgroup$– tobiasBoraMar 14, 2022 at 11:50
-
3$\begingroup$ It's because self is node tree or node itself, not the object. $\endgroup$– CrantiszMar 14, 2022 at 11:54
|
Show 4 more comments