3
$\begingroup$

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:

enter image description here

$\endgroup$
9
  • 1
    $\begingroup$ aah...just realized your are "in" geometry nodes. ...nope that doesn't work $\endgroup$
    – Chris
    Mar 14, 2022 at 11:42
  • $\begingroup$ this works in "normal" fields of the object - like x, y, scale etc. $\endgroup$
    – Chris
    Mar 14, 2022 at 11:42
  • $\begingroup$ but what works is this: [1]: i.stack.imgur.com/LVp6i.png $\endgroup$
    – Chris
    Mar 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$
    – tobiasBora
    Mar 14, 2022 at 11:50
  • 3
    $\begingroup$ It's because self is node tree or node itself, not the object. $\endgroup$
    – Crantisz
    Mar 14, 2022 at 11:54

0

You must log in to answer this question.

Browse other questions tagged .