Jump to content

Selecting Circular Area


vlsf1980

Recommended Posts

Hi,

 

I have an array of small boxes (1250 x 1250) which I want to make a hole in the middle of the array. I'm having a problem to select object that is in circular area so that I can delete those object inside the circle.

 

Attached is picture of what I'm trying to make (not in scale).

 

As the array is quite big, it will take forever for me to individually delete it. Hope someone can suggest me a way to do this. Many thanks!!!

 

selectingcircular.jpg

Link to comment
Share on other sites

Hello!!

 

I have a solution for you, but It is a Lisp routine that you have to add.

I dont know how into AutoCad you are, but it is easy to do.

 

Second thing is that the Lisp is from another forum and I dont know if I´m allowed to post the link in here!

 

Maybe anyone of the moderators can answer that, otherwise I can mail you the link to that site.

 

//Tobias

Link to comment
Share on other sites

Posting links to other sites is allowed. You can also copy and paste the Lisp and give credit to the author here if you like... There is a quotation button when replying in which you can add Lisp routines.

Link to comment
Share on other sites

Ok, thank you GE for your info!

 

I found this at Cadforum powered by Xanadu

http://www.cadforum.cz/cadforum_en/qaID.asp?tip=5697

 

You have to run Appload and add the attached lisp file into the Startup Suite.

Then reopen your file and use WPS command and select your circle or polyline, everything inside the circle will be selected.

(see the link for more info how to use the command.)

 

Hopefully this is what you hae been looking for, vlfs1980!

 

//Tobias

wps.lsp

Link to comment
Share on other sites

Thanks for the solution. I tested it out on a smaller array and it seems to work but I'm stuck at the next step which is to delete the selection. After I selected those object in the circle, it prompt me to select object again. I tried a few ways to delete it but it doesn't seems to work.

 

1. WPS and select circle> del (nothing happen)

2. WPS and select circle> Edit > Clear (nothing happen)

2. ERASE > WPS and select circle (it delete off my circle only)

3. WPS and select circle> right click (selection gone)

4. WPS and select circle> ERASE (ask me to select object again with previous selection gone)

 

Not sure what I have done wrong.

 

circular2.jpg

Link to comment
Share on other sites

After you have done your selection with WPS command press enter.

 

Run ERASE command and when asked "Select objects" type P (for previous)

 

 

 

// Tobias

Wps command.jpg

Link to comment
Share on other sites

Hi Ringis, I tried your command but it still didn't erase it.

 

Command: wps

Pick a circle or polyline:

Select objects: p

1660 found (1660 duplicate)

Select objects: erase

*Invalid selection*

Expects a point or

Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/CLass

Select objects:

 

I also tried out _erase and enter both, both unselect the items

 

The pickfirst is already in 1

 

Is this cause my the version of AutoCAD?

Link to comment
Share on other sites

Hello!

 

We try one more time.

 

command: wps

Pick a circle or polyline: pick your circle

Select objects: ENTER

command: ERASE

select objects: P

15 found

select objects: ENTER

 

It works fine on my version of AutoCad

 

//Tobias

Link to comment
Share on other sites

Thank you thank you thank you!!!

 

It finally work!

 

Thank you Ringis, Tiger and GE13579! Really appreciated the help. :D

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