Jump to content

One-click Break and create gap


rcmob

Recommended Posts

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). :)

Link to comment
Share on other sites

  • Replies 28
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    10

  • alanjt

    9

  • rcmob

    6

  • chelsea1307

    4

Top Posters In This Topic

Posted Images

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)))

Link to comment
Share on other sites

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).

circle.JPG

Link to comment
Share on other sites

Yes, but if you are using an intersection with a line/other entity (which I did when testing), the same problem occurs o:)

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 o:)?

brk.jpg

Link to comment
Share on other sites

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:) o:) 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 ().

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...