bsimpson Posted September 24, 2010 Posted September 24, 2010 I am looking for a lisp routine to list the length of a line or a polyline to ascii. thanks in advance Quote
ReMark Posted September 24, 2010 Posted September 24, 2010 Should be something around here to meet yours needs. Listing line lengths has been a favorite request. Have you tried a search yet? Just a suggestion. In the future it might helpful if your thread title was a bit more descriptive of the problem you wish help with. Thanks mate. Quote
Lt Dan's legs Posted September 24, 2010 Posted September 24, 2010 http://www.cadtutor.net/forum/showth...=dxf+polylines or http://www.cadtutor.net/forum/showthread.php?52530-Drawing-circles-to-all-vertices-of-polyline&highlight=polyline+circle Quote
bsimpson Posted September 25, 2010 Author Posted September 25, 2010 Well Lt Dan, When listing a line the text window lists all the properties of the line and I only want the length of the line. there are many lines that need their extraction of their lengh. Hence the request of length to ascii. Quote
giskumar Posted September 25, 2010 Posted September 25, 2010 I hope this will work for u (setq obj (car(entsel))) (setq vlobj (vlax-ename->vla-object obj)) (setq ln (vlax-get-property vlobj 'length)) Quote
alanjt Posted September 25, 2010 Posted September 25, 2010 (defun AT:Length (ent) ;; Return length of curve ;; Alan J. Thompson, 08.06.09 (vlax-curve-getDistAtParam ent (vlax-curve-getEndParam ent)) ) Returns the length of any curve. Quote
fuccaro Posted September 26, 2010 Posted September 26, 2010 And after some search: try this link. Quote
VVA Posted September 26, 2010 Posted September 26, 2010 Lisp: coordinates of points to excel sheet (+point number) Command Coor - Export of coordinates of the specified points, the chosen objects: points, blocks, polylines, splines in a text file, Excel. Text file — txt, or csv. Line Length Calculator need lisp to calculate lengths of layers Quote
bsimpson Posted September 30, 2010 Author Posted September 30, 2010 Well not quite I am looking to list a number of lines in Autocad and list them by their lengths to an ascii file. Quote
fuccaro Posted September 30, 2010 Posted September 30, 2010 The Lisp program LST will put -among other information- the length of the lines found in the drawing in a text file. 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.