Visual LISP, AutoLISP and General Customization

Reply
Active Member
Posts: 6
Registered: ‎12-05-2008
Message 1 of 4 (751 Views)

Lisp Routines (Welds/Fasteners)

751 Views, 3 Replies
01-14-2009 02:39 AM
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
Distinguished Contributor
Posts: 5,929
Registered: ‎12-12-2003
Message 2 of 4 (751 Views)

Re: Lisp Routines (Welds/Fasteners)

01-14-2009 07:12 AM in reply to: damenk
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::smileyfrustrated:tartup 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
*jtree
Message 3 of 4 (751 Views)

Re: Lisp Routines (Welds/Fasteners)

01-14-2009 07:54 AM in reply to: damenk


 

 



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
Active Member
Posts: 6
Registered: ‎12-05-2008
Message 4 of 4 (751 Views)

Re: Lisp Routines (Welds/Fasteners)

01-15-2009 03:28 AM in reply to: damenk
Thanks Guys, that website is just what i am after, as for the routine for weld symbols

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community