I have changed my curve in GN like this:
So i simply set a "spline fac" to the control point (via store named attribute)
Now i want to read these values via python.
I tried this:
depsgraph = context.evaluated_depsgraph_get()
obj = context.object
object_eval = obj.evaluated_get(depsgraph)
object_eval.data.splines[0].bezier_points[0]["spline fac"]
and i got:
TypeError: this type doesn't support IDProperties
What am i making wrong?
Update to Psyonic's comment:
result:
spline_fac
but all the other values in your spreadsheet are accessed via the period. For exampleobject_eval.data.splines[0].bezier_points[0].handle_left
- Tryobject_eval.data.splines[0].bezier_points[0].spline_fac
$\endgroup$