I downloaded this add-on to create L-system (https://github.com/ento/blender-lsystem-addon) and wanted to 1/ Create a L-system object from a script 2/ Change its parameters from a script.
The add-on is working as expected --> The user calls the operator "L-system" (Add > Mesh > L-system). Then in the "toolbox panel"(see image), the user can choose the L-system's parameters.
Now, I would like to the same from a script. Calling the L-system operator is straightforward:
import bpy bpy.ops.mesh.add_lsystem()
The L-system object is automatically created, but empty! Also, the menu in the toolbox panel doesn't appear.
I don't know how to access the menu's parameters and I don't even know if its possible ... So here is my question: By script, how can I access the toolbox's menu parameter after calling the operator? Note that I tried to load a preset after calling the operator (just in case), but I don't know what is the "menu_idname".
presetPath = "C:\\Users\\adrien\\Desktop\\fav\\default1.py" bpy.ops.script.execute_preset(filepath=presetPath, menu_idname="")
Thanks in advance for you help!