Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Queries on AutoCAD

Status
Not open for further replies.

awa5114

Structural
Feb 1, 2016
135
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.
 
Replies continue below

Recommended for you

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor