Hi,
I am getting started in scripting with blender, I want to know how to deselect all selected lines in the info window, as I am often copying and pasting from it, sometimes i forget to deselect old lines of py script.
Hi,
I am getting started in scripting with blender, I want to know how to deselect all selected lines in the info window, as I am often copying and pasting from it, sometimes i forget to deselect old lines of py script.
Ohh, sorry its just hotkey “A”.
row = layout.row() row.operator("mesh.select_all", text="select/unselect", icon='')
maybe this help
the icon argument can’t be empty, either leave it out (=no icon) or give it an icon string. If you need a placeholder in the size of an icon, use ‘BLANK1’
yeess!! sorry my mistake!
even you can delet the “icon” part
row.operator("mesh.select_all", text="select/unselect")