Hello!
Id like to add condition before running main command
but it hides settings for the command and don’t expose it in edit mode in adjust last operation
Any suggestions?
And i need a little help with creating smooth/flat shading toggler
UPD
I manage it
bpy.ops.object.shade_flat() if bpy.context.object.data.polygons[0].use_smooth else bpy.ops.object.shade_smooth()
but was wrong with syntax at the first time