facad Posted September 18, 2009 Posted September 18, 2009 I am a new user of AutoLisp! I would like to draw a Pentagon, I need an AutoLisp code for that. Please advice. Quote
gile Posted September 18, 2009 Posted September 18, 2009 Hi, Why AutoLISP ? Isn't the POLYGON command doing it ? Quote
ReMark Posted September 18, 2009 Posted September 18, 2009 That's an odd request. Why reinvent the wheel? Are you trying to learn AutoLISP and using this as an exercise in code writing? Quote
Lee Mac Posted September 18, 2009 Posted September 18, 2009 If you want to have some fun with your pentagon... http://www.cadtutor.net/forum/showthread.php?t=36723 Quote
paulmcz Posted September 18, 2009 Posted September 18, 2009 I am a new user of AutoLisp!I would like to draw a Pentagon, I need an AutoLisp code for that. Please advice. Here you go. (defun c:pentagon () (command "polygon" 5 pause) (princ) ) Quote
facad Posted September 18, 2009 Author Posted September 18, 2009 That's an odd request. Why reinvent the wheel? Are you trying to learn AutoLISP and using this as an exercise in code writing? I just wanted to practice Autolisp! I have a test next Monday, and I am not at all ready:(! Quote
facad Posted September 18, 2009 Author Posted September 18, 2009 If you want to have some fun with your pentagon... http://www.cadtutor.net/forum/showthread.php?t=36723 Thank you , I will take a look at it tonight carefully! Quote
Lee Mac Posted September 18, 2009 Posted September 18, 2009 Thank you , I will take a look at it tonight carefully! I doubt my code will help you if you have it on Monday... not the easiest code to get started with... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.