when adding a Value node through the geometry node tree editor I can enter
#frame in the value field to have it synced up with the animation frame index (for procedural animation etc.)
However, I haven't found a way to add this kind of node with python. I was expecting to be able to do something like this:
modifier.node_group.nodes["Value"].outputs.default_value = "#frame"
But then I just get
TypeError: bpy_struct: item.attr = val: NodeSocketFloat.default_value expected a float type, not str
Is there any way to make use of this feature using only scripting?