Code Red => AutoLISP (Vanilla / Visual) => Topic started by: jlogan02 on August 11, 2022, 05:20:41 PM
Title: Enter causes routine to run on last items picked with unexpected results.
Post by: jlogan02 on August 11, 2022, 05:20:41 PM
After I run this once I hit an enter to run it again and pick other objects, but instead of allowing me to pick another entity it is running the routine a second time on the first set of entities and pushing them back to the original layer minus the -F.
Title: Re: Enter causes routine to run on last items picked with unexpected results.
Post by: mhupp on August 11, 2022, 07:37:18 PM
Their is nothing in the code to push them back (error handling?). All tho you can select things multiple times. ending up with layers like "layername-F-F-F"
Added a check to exclude items that are on a layer ending with "-F" and gives a count of how many things have changed layers
Title: Re: Enter causes routine to run on last items picked with unexpected results.
Post by: jlogan02 on August 12, 2022, 04:07:23 PM
Man, my whole post was wonky. I wrote it once asking about the multiple -Fs. Then decided to try and remove the entmake section as a test because I don't need it changing the color to red. When I removed it, I got the enter issue.
I forgot to remove that section from my post before.