Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Dec 9, 2006
Messages
4
Location
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
 
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;
 
Cheers. I will try both methods.

regards

Louis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top