Community
AutoCAD MEP Forum
Welcome to Autodesk’s AutoCAD MEP Forums. Share your knowledge, ask questions, and explore popular AutoCAD MEP topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I fix this?

2 REPLIES 2
Reply
Message 1 of 3
dhagen
392 Views, 2 Replies

How do I fix this?

Hello,
I made the lisp routine below a few years ago to draw a polyline with four points then fillet all the corners of the polyline.
It has always worked in AutoCAD 2008 and earlier versions, but I am getting errors now that I want to use it in AutoCAD MEP 2009.
It isn’t recognizing the “fillet” , “previous”, and “last” commands that AutoCAD 2008 was able to recognize.

It draws the polyline ok but fails once it gets to the fillet command...

Does anybody know what changes I need to make to this lisp routine to make it work in AutoCAD MEP 2009?




Here is the lisp routine:
(defun C:ppp () (command "pline" pause pause pause pause cr "fillet" "p" "l"))



Here is what is coming up on the command line...

Command: ppp
pline
Specify start point:
Current line-width is 0'-0"
Specify next point or [Arc/Halfwidth/Length/Undo/Width]:
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:
Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]:
Command: fillet Unknown command "FILLET". Press F1 for help.
Command: previous Unknown command "PREVIOUS". Press F1 for help.
Command: last Unknown command "LAST". Press F1 for help.
Command: nil
2 REPLIES 2
Message 2 of 3
Martin__Schmid
in reply to: dhagen

Try:
(defun C:ppp () (command "pline" pause pause pause pause cr "_.fillet" "p" "l"))

Note the underscore and period before the fillet.


Martin Schmid
Product Line Manager
Mechanical Detailing and Electrical Design
Architecture, Engineering, and Construction
Autodesk, Inc.

Message 3 of 3
dhagen
in reply to: dhagen

Thank you!
That worked!.... I can stop pulling my hair out now.....

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost