I'm creating a script for data visualization and I want my data thats been loaded into an attribute to be selected for an input.
I like to write my blender code without using ops and context where possible.
How can I turn this input from a 'float' to this?
I feel like this should be possible somewhere here
bpy.data.node_groups['Geonodes'].inputs['Attribute']
I tried setting the default value as the attribute but the default value only takes float. I can use the ops command in the console, but it's really ugly and I'd like to avoid that if possible.
bpy.ops.object.geometry_nodes_input_attribute_toggle(prop_path="[\"Input_3_use_attribute\"]", modifier_name="Geonodes")
Is this possible without ops?