hi
How can I use a class that has an input class in one button?
bpy.ops.view3d.interactive_add(primitive_type='CUBE', plane_axis='Z', plane_depth='SURFACE', plane_origin='BASE', plane_orientation='SURFACE', wait_for_input=True)
At the moment I do this :
box= layout.box()
box.label(text="Draw Mesh:")
row = box.row()
row.scale_y = 1.0
row.operator("view3d.interactive_add")