Had the same problem and this is how I solved it:
Problem: I click to start selecting, then zoom in to click again to end the selection, type the command (ex. Move) and only the objects that I see will actually move.
Solution: turn SELECTIONOFFSCREEN to 1
@Lee Mac that is perfect thanks! I often spend more time searching for the documentation than reading it.
@Steven P @BIGAL while I was trying to figure out entmake it occurred to me that I already have the entity and all I need to do is (setpropertyvalue (entlast) "Thickness" value). Which does exactly what I needed.
My main takeaways from this exercise are:
1. Localize critical variables (you never know what else is running).
2. Clean up your code. all those 1 condition conditions were not helping.
3. Make sure all your variables are accounted for. I declared MRAD when I collected the projection and width (which I do for all the options) but changed that and forgot to declare it in option 3. nice catch.
4. consider your environmental settings when troubleshooting odd behavior! o-snap is awesome. it also messes things up. consider alternatives.
This program is ready for use now! Can't thank you folks enough for all your help. I've learned more than I ever wanted to about LISP! its going to be useful moving forward.
flatcalc.lsp