Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lisp for slope length of lines 1

Status
Not open for further replies.

louismullen1

Civil/Environmental
Dec 9, 2006
4
IE
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
 
Replies continue below

Recommended for you

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

Louis
 
This works treat. One further question

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

regards

louis
 
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;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top