How to create a script in AutoCAD?
9 Answers
If you want to automate repetitive tasks, then you should use scripts.
Scripts are instructions executed by computer which could alternatively be executed one by one, by a human operator.
Answered with a tutorial: https://grabcad.com/tutorials/how-to-create-a-script-in-autocad
Works also with LISP commands.
The purpose of this tutorial is just to have a large overview of scripting in AutoCAD...
How would I put this data into a script file to draw coordinates?
900,10000.00000,5000.00000,0.00000,RC
901,10000.00000,5151.34400,0.00000,RC
1000,9962.29770,5126.01680,4.41390,GRAVEL B
1001,9966.39950,5119.31320,4.04100,GRAVEL
1002,9969.81020,5111.99410,3.67560,GRAVEL
1003,9977.98030,5083.15040,2.39810,GRAVEL
1004,9985.56470,5044.21130,1.04730,GRAVEL
1005,9987.96980,5033.07970,0.86550,GRAVEL
1006,10007.32330,5036.90660,0.53600,GRAVEL
1007,10006.46670,5044.21340,0.74160,GRAVEL
1008,10018.94260,5046.63060,1.97610,GRAVEL
1009,10013.05800,5080.19860,2.71320,GRAVEL E
1010,9921.77210,4779.83210,0.89360,WIRE FENCE B
Thank you