Open tsatse opened 1 year ago
I tried to figure out in your code why the state's current node tree wasn't defined but I'm still trying to figure things out. I also tried to make it work with blender 3.6 and your commit that refactors simulation API to use "simulation_zone" but it didn't work either, with a similar error message, ie missing attribute 'nodes' in current_node_tree.
I cannot try the example (I am on Blender 3.6, on newer Blender my graphic card is not supported), but looking at the code, especially the signature of my_sym
, it looks to me like you are calling it with wrong arguments, the delta_time
is missing.
Update: I can run the example on Blender 3.6, but also does not work for me
yes, I tried adding that first argument but it didn't change anything. It looks like the simulation code tries to access the tree while it hasn't been built. I'm trying to understand all the code but I need to read about blender's api now
Make sure the geometry script add-on folder is called 'geometry_script'. This will ensure that the correct state module is used instead of relying on __init __.py
to manually set sys.modules
which unfortunately doesn't work in all cases.
Yesss ! It worked. Thank you so much
Hello, I'm starting from the default cube on which I add a geometry node modifier, I then type the following script (from the documentation) in the built-in editor :
I get the following error message :
(my OS is windows 10)