Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Queries on AutoCAD

Queries on AutoCAD

Queries on AutoCAD

I have had some experience working in GIS software, I'm especially fond of the querying and automating capabilities that GIS offers. Im curious as to whether CAD has something similar. Specifically, I am trying to develop a routine that can query a building plan for intersecting lines, extract coordinates to spreadsheet format, assign attributes to various lines/polylines/drawing elements. Basically GIS type functionality but for buildings. I've looked into dbConnect and AutoLISP but neither seems to offer these capabilities.

RE: Queries on AutoCAD

You can do that with Autolisp (and vlisp functions). I recall "hot tip Harry" of Cadence posted a routine many years ago that found all points of intersection of all objects in a drawing. Will need to add checks to filter out matching endpoints vs intersections. Easy to write results to a text file or csv file. Can add information to objects as xdata or to a dictionary.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close