Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Lisp Routines (Welds/Fasteners)

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
1880 Views, 3 Replies

Lisp Routines (Welds/Fasteners)

A couple of questions.



I am after a couple of decent lisp routines, one of which draws weld symbols and has an half decent dialogue box and one which draws bolts/nuts in plan, elevation and 3D in both metric and imperial.



I do have a routine which draws the fasteners (called fast.lsp) as listed above and had been using it for a while, but started to use it in 2008 and the metric side of things does not work.



Also another query, which I am sure I knew once how to do is, how do I make it so any lisp routines I run all the time, load automatically when I start up AutoCAD rather than having to use the ‘load lisp routine command’ every time.



One more (sorry) anyone knows of a good book or website. Which I can use to write simple/advance macros for AutoCAD.



Your help is much appreciated.



Damen Edited by: damenk on Jan 14, 2009 10:40 AM
3 REPLIES 3
Message 2 of 4
EC-CAD
in reply to: Anonymous

damenk,

I don't have 'canned' routines for weld symbols or fasteners..



But, on your question:

"Also another query, which I am sure I knew once how to do is, how do I make it so any lisp routines I run all the time, load automatically when I start up AutoCAD rather than having to use the ‘load lisp routine command' every time."



There are several ways to 'pre-load' a Lisp / function.

Common methods:

- place a (load .. in your S::Startup function

- autoload on demand

- In acaddoc.lsp, add a (load ..

- In your (menuname).mnl, include them, or (load .. them.

I prefer to use acaddoc.lsp and just (load "yourlisp.lsp")



On the books / training.. Google AfraLisp.



My 2 cents.

Bob
Message 3 of 4
Anonymous
in reply to: Anonymous



 

 



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">A
couple of questions.



I am after a couple of decent lisp
routines, one of which draws weld symbols and has an half decent dialogue box
and one which draws bolts/nuts in plan, elevation and 3D in both metric and
imperial.



I do have a routine which draws the fasteners (called
fast.lsp) as listed above and had been using it for a while, but started to
use it in 2008 and the metric side of things does not work.




Also another query, which I am sure I knew once how to do is,
how do I make it so any lisp routines I run all the time, load automatically
when I start up AutoCAD rather than having to use the ‘load lisp routine
command’ every time.



One more (sorry) anyone knows of a good
book or website. Which I can use to write simple/advance macros for AutoCAD.




Your help is much appreciated.



Damen Edited
by: damenk on Jan 14, 2009 10:40 AM
Message 4 of 4
Anonymous
in reply to: Anonymous

Thanks Guys, that website is just what i am after, as for the routine for weld symbols

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost