I took a look and can find no way to directly get this detail.
If your PCL is erasing/plotting items then keep a track of what you erase/plot by also adding/removing them from a group. If the user is doing erasing of items and you then want to find out what is erased you will have to get the user to use the "Pick All" option on a select menu to fill a select databox so that you can then boolean this with the contents of the posted groups. I could find no way to simulate clicking a select menu item via pcl to do this.
I took a look and can find no way to directly get this detail.
If your PCL is erasing/plotting items then keep a track of what you erase/plot by also adding/removing them from a group. If the user is doing erasing of items and you then want to find out what is erased you will have to get the user to use the "Pick All" option on a select menu to fill a select databox so that you can then boolean this with the contents of the posted groups. I could find no way to simulate clicking a select menu item via pcl to do this.