KnoJa31 Posted May 7, 2010 Posted May 7, 2010 Hello all, I have an interesting situation at hand. Since i am below a novices when it comes to this kind of thing I am looking for guidance more than the actual step (im assuming!!) My group t requires an engineer to enter in data to an Excel Spreadsheet, and there is a lot of data!!!! I was thinking that i (or someone with the intellect) could create a script of some sort that would take the block name and place it in its corresponding location. For instance: If i have an exit light that needs to be placed at coordinate of 100,50 Shown in excel as: | INDEX | DESCRP | X POS | Y POS | | 1 | EXIT LIGHT | 100 | 50 | The script or whatever would take that information and in CAD select the corresponding block, place that block in the designated locations and populate an attribute with the index number established from the spreadsheet. I have been looking into the AutoCAD API and im unsure of the formats that can be used to accomplish this. I have seen .NET, C# and things i have never heard of. I guess in short: Is it possible to have our local programmer create a script that will accomplish the task that is required using C#? Any heads up would be and will be appreciated!!! Quote
MikeScott Posted May 8, 2010 Posted May 8, 2010 I've used Excel to write a script in old CAD.. not sure if it'll work as easily (or at all) anymore. Here's a description that might help you.. it's not as fancy as what you were describing, but it'll hopefully get the job done. http://www.cadtutor.net/forum/showpost.php?p=324586&postcount=2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.