You are here:

AutoCAD/x,y coordinates in ACAD

Advertisement


Question
Hello Scot,

I read your post regarding how to plot x,y points in ACAD.

I am having problems when i try to plot those points by creating a sr file.

I create my scr file, Command line at top and an extra enter at the bottom (i have read other posts where instead of line i can add PLINE as well), i tried both but i have no luck.

When i load my script file in ACAD 2008, it seems ACAD is trying to plot the points (because i can see the command area blinking) but it never finishes, instead ACAD stays in this loop forever and i never get to plot my points.

I tried adding the CLOSE command as well at the bottom of the file but i have no luck.

Do you know anything about this?

I want to plot around 120 points.

PLease let me know, thanks


Answer
Without seeing your script file, or at least the beginning and end of it, I would only be guessing as to what the problem might be.
The bottom line is probably that you have a command out of sequence somewhere in your script. Make sure your CMDECHO is on and that if you were to type in the commands in the same sequence as in your script file that autocad responds as expected. Going through the script, at least the beginning, a few points, then the end of the script, using the command line are what is required. If you have done this and still cannot figure it out then you can send it to me and I will take a look at it for you.

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Scott Cook

Expertise

I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience

Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.

©2012 About.com, a part of The New York Times Company. All rights reserved.