Author Topic: Remove a boundary from a hatch.. select objects problem  (Read 1579 times)

0 Members and 1 Guest are viewing this topic.

danglar

  • Newt
  • Posts: 161
  • Read My Li(s)(p)
Remove a boundary from a hatch.. select objects problem
« on: March 21, 2016, 03:03:10 AM »
I have a drawing with many "holes"(circles) in hatch and now I need to move all circles in a different places. After moving i have a boundaries remains in a hatch..

to remove it i use this little lisp:

 

(defun C:HR(/ gp) (setq gp (ssget))(command "-hatchedit" gp "r" ));remove boundary from hatch

 

but I have a problem when I need to select boundaries one by one..

Is it possible to select ALL boundaries in a one click in order to remove it?

Any help will be very appretiated

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Remove a boundary from a hatch.. select objects problem
« Reply #1 on: March 21, 2016, 09:01:29 AM »
Perhaps if you post a sample DWG one could offer a better suggestion.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Remove a boundary from a hatch.. select objects problem
« Reply #2 on: March 21, 2016, 09:07:16 AM »
Here's a crazy idea -- give proper attribution to all the posts on your website. :idea:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

danglar

  • Newt
  • Posts: 161
  • Read My Li(s)(p)
Re: Remove a boundary from a hatch.. select objects problem
« Reply #3 on: March 22, 2016, 02:18:22 AM »
MP thank you for your responce.
Can you help me to add a proper attribution to all the posts on my blog?
Your help will be very appretiated

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Remove a boundary from a hatch.. select objects problem
« Reply #4 on: March 22, 2016, 04:02:12 PM »
Happy to help. You're using Wordpress correct? For every post that hosts code you did not author and there is no attribution set it to draft mode so the post is not publically visible. As you determine the correct author for each code snip AND provide appropriate credit bring the posts back to public visibility. Cheers.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

danglar

  • Newt
  • Posts: 161
  • Read My Li(s)(p)
Re: Remove a boundary from a hatch.. select objects problem
« Reply #5 on: March 23, 2016, 05:03:29 AM »
According to your suggestion, I have a lot of work to do.. I will begin it ASAP