Author |
Topic |
|
anto1
New Member
11 Posts |
Posted - October 25 2005 : 05:03:48 AM
|
Hello there, do you know a script to import text files (txt, xls) into a attribute text values? thanks |
|
Admin
Administrator
652 Posts |
Posted - October 25 2005 : 5:02:39 PM
|
Hi anto1,
There isn't a script to do that, as normal scripts are totally dumb, i.e. AutoCAD simply follows EXACTLY what is in the script. (Hurricane scripts can contain tags, so are "semi-dumb" or "semi-smart" (depends how you look at it).
Currently, there isn't a scripting utility out there that can look at a text file and co-relate information in it, to insert into a defined block with many attributes. There are just too many issues to make it straight forward.
As a matter of fact, complete packages are written to do just that function, with many features that are beyond the scope of scripting.
Please do a google search for "autocad and excel and attribute", and you will find a number of them, each with their own strengths and weaknesses.
I hope this helps! Bill |
Hurricane for AutoCAD http://www.74mph.com FAQ at http://www.74mph.com/faq/faq.html Tutorials at http://www.74mph.com/tutorials.html |
|
|
anto1
New Member
11 Posts |
Posted - October 26 2005 : 03:55:49 AM
|
Hi bill, thanks for this Info. |
|
|
anto1
New Member
11 Posts |
Posted - October 26 2005 : 03:57:50 AM
|
Sorry, Bill (my finger was not fast enough to write "B" in my last reply)
|
|
|
Miksteele
Hurricane-Extreme User
USA
216 Posts |
Posted - November 05 2005 : 12:55:38 PM
|
Hi anto1,
I'm curious... what type of information are you are trying to pull into your attributes?
Bill is right... there is no straight forward approach, BUT I have successful done just this using combinations of TAGS, PROJECT TAGS, and TAG TEMPLATE loading. I better mention METAS also, as they are probably in every script I have. They smooth out the basic stuff. You kind of need to think things through in the beginning, but once you're scripted... |
Mike Fischer Fischer Design Group, LLC Building Model Coordination - Steel Detailing - Connection Design www.FischerDesignGroup.com |
|
|
anto1
New Member
11 Posts |
Posted - November 07 2005 : 11:00:14 AM
|
Hi, Miksteele, the Data type for this drawings is a Excel file, Thanks for the tip with Tags, Im going to try that way |
|
|
|
Topic |
|