Hey guys, I need to make an operator(non-modal) with this type of functionality:
#add object
bpy.ops.mesh.primitive_cube_add()
#translate modal
bpy.ops.transform.translate(‘INVOKE_DEFAULT’)
#when translate is confirmed do something else
bpy.context.object.name = “Rename”
Obviously this script is useless lol, its just an example, it’s the doing something after a modal that I need
Thanks in advance