alanjt Posted September 10, 2009 Posted September 10, 2009 Perhaps this code? http://www.cadtutor.net/forum/showthread.php?t=38562 Nice bit of code Lee. Sadly, I have no use for it, but merits kudos. On a side note, regarding the routine, I can't say I agree with you on (ssget "_X" '((0 . "CIRCLE"))). While it is really nice to be prompted that no circles exist in drawing, I would hate to bog down because I have to make a selection set of thousands of circles. Just a thought, if you don't agree with me, just (car AlanStatement). Quote
Lee Mac Posted September 10, 2009 Posted September 10, 2009 I agree in part Alan.. but I needed the selection set to iterate through the circles in case the circle was "underneath" another object. But (setq Alanjt (vl-list->string '(71 111 111 100 32 73 100 101 97))) Quote
alanjt Posted September 10, 2009 Posted September 10, 2009 I agree in part Alan.. but I needed the selection set to iterate through the circles in case the circle was "underneath" another object. But (setq Alanjt (vl-list->string '(71 111 111 100 32 73 100 101 97))) LOL As you originally said, it's more a point than idea. I like the idea behind it, but it won't display the circle if behind something. You can near snap to it, but you can't see what you are snapping along, as shown in my attached image (circle behind solid hatch). Quote
Lee Mac Posted September 11, 2009 Posted September 11, 2009 Yes, but if you are using an intersection with a line/other entity (which I did when testing), the same problem occurs Quote
alanjt Posted September 11, 2009 Posted September 11, 2009 Yes, but if you are using an intersection with a line/other entity (which I did when testing), the same problem occurs Such as this? I've sent the circle back and lines to the front with draworder. BTW, why do you keep ending your statements with the ? Quote
Lee Mac Posted September 11, 2009 Posted September 11, 2009 I found that without that check on the circle parameters that it would not point to the circle entity if the circle was at the back on draworder o:) Quote
alanjt Posted September 12, 2009 Posted September 12, 2009 I found that without that check on the circle parameters that it would not point to the circle entity if the circle was at the back on draworder o:) See, that's what I was wondering. I didn't have that issue after removing ssget portion of code. I wonder why you encountered the issue where I was able to break the circle just fine. It's not a big deal, that portion of the code just struck me as strange and I was curious as to why you put it in. I'm not trying to insult you or you code, I was just curious as to the reason between those two (). Quote
Lee Mac Posted September 12, 2009 Posted September 12, 2009 No worries mate, I'm happy to cure your curiosity Quote
alanjt Posted September 12, 2009 Posted September 12, 2009 No worries mate, I'm happy to cure your curiosity It's still odd that I cannot create your error. Oh well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.