Draw X & Y Coordinates from file

General topics relating to CMS IntelliCAD.

Moderator: CMS Inc

Post Reply
DSTILL@MEDIAONE.NET
Newbie
Posts: 1
Joined: Wed Oct 25, 2000 11:01 pm

Draw X & Y Coordinates from file

Post by DSTILL@MEDIAONE.NET » Thu Oct 26, 2000 1:40 pm

Does anyone know a way to automatically take X & Y coordinates that are in a text file and draw those points connected by a polyline?
mjsmyth

Post by mjsmyth » Thu Oct 26, 2000 2:59 pm

You need to create a script file that invokes the line command and then list the points there after, something like this....

line
0,0
100,0
0,100
50,45

You need to finish off your list of co-ordinates with acouple of returns for icad to know to stop the script.

Remember to save this as a file with a .scr extension and then go to tools -> run script

I hope this answers your question.

Regards,
Michael Smyth
Post Reply