ewbjr
Civil/Environmental
- Oct 5, 2009
- 2
I have been going crazy trying to figure out how to do this. I would like a LISP routine, called "SELECTOD", which would select all items on the current layer that have a certain field value set in their Object Data. It would presumably need to prompt for the field name and value. Everything on the current layer that has this field name and value would then be selected. I could then do as I wish with it: delete it, move it to another layer, etc. I can't figure out how to tell the ssget command to use the current layer without specifying its name, and I can't figure out how to tell it the attribute name and value to filter by. Or should I be using something besides the ssget command? I would be grateful for the help, thanks!