smilingone Lv 1
I'd like the option to simply delete the last band made.
I'd like the option to simply delete the last band made.
smilingone, do you mean a key that deletes the bands in reverse order?
Perhaps unrelated, but I've noticed that deleting the last band in a script is very slow, perhaps because of a linear search from the beginning, or a redraw always occurs after the band is deleted. It's so bad that I just let them accumulate and delete all of them every 20-30 or so.
Here is a simple V2 script that does the job: band.Delete(band.GetCount())
If you want to delete all bands from band nr X do:
repeat band.Delete(X) until false