There a simple example of drawing circle involute via LISP:
(defun c:involute(/ plist fi old_osnap cent rad xp yp eang)
(setq plist (list "pline" 'command)
fi 0.0
old_osnap (getvar "osmode")
cent (getpoint "\nSpecify center of invotute: ")
rad (getdist cent "Specify circle radius of...
;;; Before executing this routine create two dimension styles that control DIMSE1 (2) or other DIM variables.
;;; "Left_Style_Name" and "Right_Style_Name" are the dimension style names. They have to be named with the same name as in Dimension Style Manager table.
(defun...
Two questions:
1) Are this file succesfuly loaded? Check it in Tools->Application "Loaded Application" box.
2) Is there a string in "message.lsp":
(defun c:message())?
If yes, changed string (command "message") to (c:message) in your script should work properly...
Hello,
I think at first this computer on a network needed to be mapped as disc for example F: on your computer. Then write in Lisp as usual:
"F:\\ARCHITECTS\\ACAD2002\\LISP\\LISPFILE.LSP"
Regards
Usualy plot style tables are saved in your computer. So if you've got a drawing with named plot style Autocad will use the same name plot style from your computer. Drawing saves just current plot style file name.
Regards
Hi Adrian2,
Try this: Tools -> Options -> Plotting and check 'Use color dependent plot styles' radio button in a gotten drawing. Then you should able to select *.ctb plot styles.
Hope helped.
I suppose it is AutoCAD 2000 bug. I've seen plotted drawings of furniture from viewpoint. There polyline was as limits of the room and unhided too. The cupboards were made in 3D solids and inserted as blocks. And this phenomenon appeared only on AutoCAD 2000.
Did you tried plotter calibration: File -> Page Setup -> Plot Device -> Device and Document Settings?
Also: File -> Page Setup -> Layout Settings -> Plot Ofset by X and Y should help to you.