Hey everyone! I am making an addon which is supposed to launch an interactive tool if some “if” statements return True, but I can’t launch the interactive tool, I’m only able to kind of hard code the values and apply it, but I can’t use that.
So is there a way to turn on the actual interactive part of the tool? I can’t find the answer anywhere.
In case anybody comes across this topic in the future. I have figured this out myself:
Here is the solution
instead of writing:
bpy.ops.mesh.bevel() <- Which would require to type in the values in the properties
Write:
bpy.ops.mesh.bevel(‘INVOKE_DEFAULT’) <- That INVOKE_DEFAULT thing will make it run interactively.
Hope this was useful to somebody
2 Likes