Delete last band.
Case number: | 845813-995088 |
Topic: | Game: Tools |
Opened by: | smilingone |
Status: | Open |
Type: | Suggestion |
Opened on: | Saturday, May 4, 2013 - 18:03 |
Last modified: | Monday, May 6, 2013 - 22:41 |
I'd like the option to simply delete the last band made.
»
Mon, 05/06/2013 - 22:41
#2
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
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.