Jump to content
isxhy

Loop whole entities of CAD drawing and extract arc or polygons

Recommended Posts

isxhy

Dear Experts,

 

I currently obtained a building plan map with rooms, doors, stairs,etc. My task is to extract the doors and tranform it as point. The doors have been represented as a connected arc and two lines. The size of map is fairly large and there is quite a lot of arcs, and so I have to use LISP to automatically extract the arcs based on specific algorithm.

 

My current problems is quite simple: how to loop all drawing entities and extract the type of entities that I want? I want to know the AutoCAD commands, and if your can provide the algorithm, would be very appreciated!

 

Many thanks for your help! :lol:

Share this post


Link to post
Share on other sites
David Bethel

(ssget) will be your friend here

 

 

You can filter for entity type ("ARC") and layers ("0") if applicable

 

A little more detail may help with your request.

 

-David

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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