Lee Mac Posted July 2, 2012 Posted July 2, 2012 ...and others may suspect me of being the worst LISP coder ever. More likely suspect me of focussing too much on the finer details... Anyway, consider this alternative: '( (-4 . "<OR") (-4 . "<AND") (0 . "LWPOLYLINE") (-4 . "&=") (70 . 1) (-4 . "AND>") (-4 . "<AND") (0 . "POLYLINE") (-4 . "&=") (70 . 9) (-4 . "AND>") (-4 . "OR>") ) Quote
BlackBox Posted July 2, 2012 Posted July 2, 2012 No worries; only being jovial. I originally used 1 & 9, but this excluded my "L" shaped polyline... further investigation revealed this entity (the "L") was 129. This prompted me to make the quick change to 'not' 0. Quote
asos2000 Posted July 3, 2012 Posted July 3, 2012 Refer to this reply I tested the three solutions LEE RenderMan Msasu But find three deference output Attached dwg and csv files Quote
MSasu Posted July 3, 2012 Posted July 3, 2012 But find three deference output That's true, but is easy for OP, as long he/she had the desired information in electronic form, to edit it to the right format. Quote
ClareSelley Posted July 3, 2012 Author Posted July 3, 2012 Hmmm... I thought Lee's was working perfectly - except it's not listing the centroid for the polyline that the handle belongs to! Handle X is next to the centroid for polyline Y.... Quote
ClareSelley Posted July 3, 2012 Author Posted July 3, 2012 Renderman: Thanks for yours - that's actually better & works perfectly. Quote
BlackBox Posted July 3, 2012 Posted July 3, 2012 Renderman: Thanks for yours - that's actually better & works perfectly. That is kind of you to say, but if you're wanting to use my code, I must insist on revising it to utilize the Centroid Property coordinate value of a region, rather than using the Centroid of the BoundingBox (the bottom left, and upper right). My original code was left intact (originally) for others to learn from my mistake. I will revise the code momentarily. Quote
Lee Mac Posted July 3, 2012 Posted July 3, 2012 Hmmm... I thought Lee's was working perfectly - except it's not listing the centroid for the polyline that the handle belongs to! Handle X is next to the centroid for polyline Y.... Looking back at my code, I can't see anything that would cause this to happen; furthermore, after a quick test, the code appears to function correctly for me. Quote
ClareSelley Posted July 3, 2012 Author Posted July 3, 2012 Lee: It may well me me messing up somehow. It just didn't run right for me for some reason! Thanks for your help! Quote
crisraj99 Posted May 13, 2013 Posted May 13, 2013 HI, please help me to mark circles in error layer from selected handles in .csv file Quote
MSasu Posted May 13, 2013 Posted May 13, 2013 Can you post an excerpt from that CSV file? Also, what do you understand by marking them? 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.