Solved

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

Posted on 2009-07-08
7
694 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 11

Expert Comment

by:darrenmcwi
ID: 24839098
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
ID: 24839243
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
ID: 24926563
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
ID: 24935804
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
ID: 31665797
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

751 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