Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!ncar!asuvax!enuxha!nwatson From: nwatson@enuxha.eas.asu.edu (Nathan F. Watson) Newsgroups: comp.graphics Subject: Re: Coords --->> AutoCAD ??? Message-ID: <1160@enuxha.eas.asu.edu> Date: 23 Jul 90 19:46:07 GMT References: <11800012@uxh.cso.uiuc.edu> <90Jul20.225710edt.20287@me.utoronto.ca> Organization: Arizona State Univ, Tempe Lines: 26 In article <90Jul20.225710edt.20287@me.utoronto.ca>, sun@me.utoronto.ca (Andy Sun Anu-guest) writes: > In article <11800012@uxh.cso.uiuc.edu> fleming@uxh.cso.uiuc.edu writes: > > > > Is there a way in AutoCAD 10 to import straight ASCII numbers as > > coordinates? I have a file of XYZ coords and I'd like to get an > > AUTOCAD drawing made from them (it's a topographic map). > > There is no such command in AutoCAD Release 10 as to import ASCII numbers > as coordinates, but its 'script' command can almost do what you want. If you aren't able to or don't want to change the original file's format, and don't want to write a program to change the format into the suggested > LINE > x1,y1,z1 etc. form, you might try using the AutoLISP language. The language includes file-manipulating functions, a direct interface to AutoCAD commands, and isn't too bad after you get used to it. Using AutoLISP and the direct interface to AutoCAD was more convenient that using other languages to convert to the .DXF format. --------------------------------------------------------------------- Nathan F. Watson Arizona State University nwatson@enuxha.eas.asu.edu Computer Science Department