Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Feb 1, 2016
Messages
135
Location
NL
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.
 
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

Back
Top