Solved

How can I use coordinate information in Microsoft excel to create AutoCAD objects

Posted on 2009-07-08
7
687 Views
Last Modified: 2012-05-08
I have a database that lists: the x,y coordinate; the length; width; and height of a number of 6 sided block objects.  Is there a way to create the block objects in AutoCAD so that I do not have to manually input each individual object.  

Each object has a unique identification number. I would also like to use the database queries to identify objects in AutoCad.
0
Comment
Question by:sleeper43
  • 3
  • 2
7 Comments
 
LVL 11

Expert Comment

by:darrenmcwi
Comment Utility
This should be fairly easy to do. Do the blocks have attributes to stort the I'd numbers?

Are the numbers of attributes in each block the same or does the attribte that will hold the I'd in the same order across blocks?
0
 
LVL 11

Expert Comment

by:darrenmcwi
Comment Utility
This should be fairly easy to do. Do the blocks have attributes to stort the I'd numbers?

Are the numbers of attributes in each block the same or does the attribte that will hold the I'd in the same order across blocks?
0
 

Author Comment

by:sleeper43
Comment Utility
The blocks have unique ID#.  The attributes are:
ID#, ID
Northwest Corner Easting Coordinate, NWC_E
Northwest Corner Northing Coordinate, NWC_N
Northeast Corner Easting Coordinate, NEC_E
Northeast Corner Northing Coordinate, NEC_N
Southwest Corner Easting Coordinate, SWC_E
Southwest Corner Northing Coordinate, SWC_N
Southeast Corner Easting Coordinate, SEC_E
Southeast Corner Northing Coordinate, SEC_N
Elevation, ELEV
Depth, DEPTH
0
 
LVL 11

Accepted Solution

by:
darrenmcwi earned 500 total points
Comment Utility
There are a couple options. AutoCAD's DBConnect functionality will allow you to link a database directly to things in AutoCAD. I'm not an expert here but have tinkered with it a little. Keep in mind you won't be able to do this with an Access database on a 64-bit platform as Microsoft is dropping their support of the Jet DB engine on 64-bit.  You can use SQL, etc. however.

The other option is to export the points from the database into a script file and have te script file insert the blocks qand feed thhe coordinate data to the block's insertion location, attribute fields etc. You might even just need to dump the db info into a text file and massage it into a script file.

You could also do some custom programming in AutoCAD to eithter read the info directly from the database or a file it exports, and insert the blocks. This is likely the best option if you need to routinely do this and DBConnect is gonig to cause you issues for various reasons. If you're not familiar with AutoCAD programming, there's a number of people doing this professionaly or as side-line work that you could contract to. Who you're looking for will vary depending on if you'll want someone to write a program that directly interfaces with the DB vs a quick and dirty AutoLisp routine that reads from an exported file.

I use to do this type of work and sometimes occasionaly still do but typically don't have the time for anything of significant effort. If you need some names, I can gladly refer you to some people that can do this.
0
 

Author Closing Comment

by:sleeper43
Comment Utility
The response essentially stated that the desired programming can be done but that it would require contracting someone to do the work.  I was hoping for something a little more detailed.  The question is probably to complex to answer completly in this type of forum.  I appriciate the advise that was provided.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If, like me, you find yourself repeatedly and tediously joining many segments (lines, arcs) in other people's drawings back into polylines that can be used more effectively in Computer Aided Machining and Laser Cutting, then this article is for you!…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now