Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-07-08
7
Medium Priority
?
697 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 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

715 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