Lee Mac Posted January 13, 2009 Share Posted January 13, 2009 Ok, this is related to another thread on here, but I need to create a polyline whose vertices are situated at every point in a list. I have tried something like this: (setq i (length alist)) (while (not (minusp (setq i (1- i)))) (command "_pline" (nth i alist)) But to no avail. Any help would be much appreciated. Thanks Lee Quote Link to comment Share on other sites More sharing options...
ASMI Posted January 13, 2009 Share Posted January 13, 2009 (command "_.pline") (mapcar 'command alist) (command) or (command "_c") If you want closed polyline. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 13, 2009 Author Share Posted January 13, 2009 Many thanks to you ASMI. Quote Link to comment Share on other sites More sharing options...
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.