TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: scottcd on September 30, 2014, 06:26:48 AM
-
Just wondering how to entmake a fitted polyline.
I have it making a polyline through a list of points but not sure how to make it fitted.
Thanks
Scott
-
It's not an answer directly to your question, but maybe it can be of interest...
Check this link :
http://www.cadtutor.net/forum/showthread.php?73857-Creating-straight-lines-on-a-polyline&s=688cf19258ca414915e8264769a14d96
HTH, M.R.
-
Just wondering how to entmake a fitted polyline.
I have it making a polyline through a list of points but not sure how to make it fitted.
Thanks
Scott
I don't think it would be logical due to the added vertices (70 . 1) in the vertex definitions. The the polyline must be defined by the control points and then the fit process can be determined.
Maybe (entmake) the pline with the control point list and then (command "_.PEDIT" (entlast) "_Fit" "_X")
-David
-
Thanks for the solution.
I couldn't get it to work for some strange reason as I have just upgraded to 2015.
Eventually worked out that I needed to change to "command-s" and it worked perfectly.
Thanks again
Scott
-
or switch to vl-cmdf
-
or switch to vl-cmdf
vl-cmdf is not the same as command-s... Me thinks that for A2015 you need to use only commans-s and vl-cmdf will fail... Don't know but just loud thinking... I am using A2014... vl-cmdf is used when wanted return after execution of command to be T instead of nil...