samifox Posted June 23, 2013 Share Posted June 23, 2013 Hi if i use a polyline to draw a rectangle i see in the properties 5 points instead of 4, why? when programming it can cuz problems. Thanks Shay Quote Link to comment Share on other sites More sharing options...
paulmcz Posted June 23, 2013 Share Posted June 23, 2013 When you draw a rectangle manually with line or polyline, or with lisp coding, you need to supply 5 points. Try it and count the points. Quote Link to comment Share on other sites More sharing options...
samifox Posted June 23, 2013 Author Share Posted June 23, 2013 with a poly tool Quote Link to comment Share on other sites More sharing options...
marko_ribar Posted June 23, 2013 Share Posted June 23, 2013 You are not drawing correct polyline if you omit to supply "Close" option after 4 picked points... Remember to do this as your new habit as when it comes to sharing your drawings, you may be the cause of incorrect drafter's job... Many of codes were provided accounting that your polylines are closed entities DXF code (70 . 1) for 2d polylines and if you don't stand by the rule of "C" option, some of the codes may fail to execute properly... Still there is CleanPoly.lsp on the site of Gile that can convert these wrong polylines to correct ones, but I strongly suggest that you use close option and to use it like learned by hard... Attachment - Giles routines - original and the one I modified for multiple polylines... Clean_poly.lsp Clean_polys.lsp Quote Link to comment Share on other sites More sharing options...
samifox Posted June 23, 2013 Author Share Posted June 23, 2013 hi marko thanks for the lisps 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.