home *** CD-ROM | disk | FTP | other *** search
- ' This macro Deletes all the objects in Layer 4
- '
- for j = 1 to sys(9)
- getattr j, type, select, laynum, group, red, green, blue
- if laynum = 2 then
- select = 1
- putattr j, type, select, laynum, group, red, green, blue
- endif
- next
- ' Always refresh the screen to see newly selected items change to
- ' the selection color
- >Regenerate
- {
- }
- ' Deletes all selected items
- >SelectDelete
- {
- }
- end
-