×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Lisp for slope length of lines

Lisp for slope length of lines

Lisp for slope length of lines

(OP)
We need to examine  drawings to establish the number of lines and the total slope length of selections of lines on the drawings.

The drawings are of 3d  lines representing land drains.Each drawing has 30 to 500 individual lines.
We need to find the total slope lengths of the lines.

Is it possible to write a lisp to do this. Any help would be great.

Louis

RE: Lisp for slope length of lines

TLEN.LSP
Calculates and reports the total length of a selection set of line, polyline, arc, circle, ellipse, and other objects in drawing.
 
http://www.turvill.com/t2/free_stuff/index.htm

RE: Lisp for slope length of lines

(OP)
Thanks for the very prompt response. I will give this a try now.

Louis

RE: Lisp for slope length of lines

(OP)
This works treat. One further question

is it possible to make toolbar button to load/run  this lisp .

regards

louis

RE: Lisp for slope length of lines

You could add the routine to the "startup suite" to automatically load when you open a drawing.
Then the button macro to start it would be:

^C^CTLEN;

Didn't test this but to load and run it in a macro may be (if the lisp is in the support file search path):

^C^C(load "tlen.lsp");TLEN;

RE: Lisp for slope length of lines

(OP)
Cheers. I will try both methods.

regards

Louis

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources