butelja
Mechanical
- Jun 9, 1999
- 674
Is there a relatively easy way to import x,y coordinates from an ASCII text file and automatically draw a polyline between them?
I have had limited success by adding the "_pline" command at the beginning of the file and saving it as a script (*.scr) file, then running the "script" command within Autocad. However, this requires considerable manual tweaking, as I must add commas between each x,y pair and delete any blank spaces in the file. For some reason, Autocad sees any blank space as a carriage return when the script is running. Is there an easier way to do this? [sig][/sig]
I have had limited success by adding the "_pline" command at the beginning of the file and saving it as a script (*.scr) file, then running the "script" command within Autocad. However, this requires considerable manual tweaking, as I must add commas between each x,y pair and delete any blank spaces in the file. For some reason, Autocad sees any blank space as a carriage return when the script is running. Is there an easier way to do this? [sig][/sig]