Autocad LT 2002 simple lisp

Status
Not open for further replies.

Tom Berger

Usenet Archive
Joined
Oct 11, 2000
Messages
473
Reaction score
0
John schrieb:
Hi
I'm looking to run some old simple lisp Routines (3-4 lines) for Autocad LT 2002, does anyone know how to do it or get some type of add-on ? I do not want to puy drcauto's tool kit as it is about $800 AU a bit expensive just to run some simple lisp Routines. Its not that I do not want to pay for it, just somethink a bit cheaper.
:) thanks in advance, John

Use IntelliCAD (http://www.cadopia.com) instead of LT.

Tom Berger
 
Hi
I'm looking to run some old simple lisp Routines (3-4 lines) for Autocad LT 2002, does anyone know how to do it or get some type of add-on ? I do not want to puy drcauto's tool kit as it is about $800 AU a bit expensive just to run some simple lisp Routines. Its not that I do not want to pay for it, just somethink a bit cheaper.
:) thanks in advance, John
 
The only way to use Lisp with LT that I know of is to buy the Drcauto add on. I would agree with Tom though, use Intellicad, it uses lisp and reads/writes dwgs natively and looks like Autocad.
 
So, how do you compare Intellicad with Auto Cad. Is Intellicad possibly as good as AutoCad, on its own?

"no one" wrote:

The only way to use Lisp with LT that I know of is to buy the Drcauto add on. I would agree with Tom though, use Intellicad, it uses lisp and reads/writes dwgs natively and looks like Autocad.
 
You can't do it with a keyboard command in LT, but you could put it in a custom menu button or pulldown with the simple macro:

'zoom;p;

Details about editing the menu files should be in your HELP system.
___

"John" wrote:

thanks for all your replys

this is the simple lisp routine i'm tyring to run

(defun c:zp (command "'zoom" "p"))

it is part of a larger lisp file, does anyone know how to right it in
diesel
it gives me a two letter command "ZP = zoom P"
 
thanks for all your replys

this is the simple lisp routine i'm tyring to run

(defun c:zp (command "'zoom" "p"))

it is part of a larger lisp file, does anyone know how to right it in diesel it gives me a two letter command "ZP = zoom P" :) thanks John

John wrote:

Hi
I'm looking to run some old simple lisp Routines (3-4 lines) for Autocad
LT
2002, does anyone know how to do it or get some type of add-on ? I do not want to puy drcauto's tool kit as it is about $800 AU a bit expensive just to run some simple lisp Routines. Its not that I do not want to pay for it, just somethink a bit cheaper.
:) thanks in advance, John
 
I sit as good as Autocad? Hmmmmmmm....... in some ways better. For example, the Drawing Explorer is better than Autocads in my opinion. In others, Autocad is better. Acad is faster at some things, screen regen and lisp are just two that come to mind. as to which is the more stabler, well they both seem to crash as regularly as the other in my opinion. Autocad would still be tops for doing 3D though, as it supports the full edting of ACIS entities. The latest version of Intellicad will only support the viewing of ACIS entities. But when you compare them price for price, I think Intellicad comes out on top. It certainly has my vote over LT and I use Intellicad Pro 2001 for all my private work.
 
"John" wrote:
thanks for all your replys

this is the simple lisp routine i'm tyring to run

(defun c:zp (command "'zoom" "p"))

it is part of a larger lisp file, does anyone know how to right it in diesel it gives me a two letter command "ZP = zoom P" :) thanks John

John wrote:

...

Dear John,

Perhaps instead of trying to run a version of your "ZP" lisp program in LT (which, if possible, will require some very convoluted DIESEL programming), you should consider customizeing the ***ACCELERATORS section of the standard ACLT.mnu. You can program AutoCAD commands (and command sequences) into the Function Keys or the numerical keypad keys. Here's an example (which I use):

["NUMPAD1"]'.redraw
["NUMPAD2"]'.zoom p
["NUMPAD3"]'.pan
["NUMPAD0"]'.zoom w

The ' is so the command will run "transparently." The . is so that the actual "redraw" command will be called (some organizations have, in the past, actually redefined or renamed commands). Note that the space between the '.zoom and the p works exactly like an enter would in the keyboard entry of the command. Lastly, the end of the line in the menu definition acts as an "enter" would at the command line.

If you've never edited an AutoCAD or LT menu (.mnu file) it's not really very hard. Just remeber two things: (1) Back-up your current .mnu file (or better still do a "save-as" in your text-editor and create a new menu altogether. (2) AutoCAD and LT will look to load the .mnc, .mnr., or .mns, COMPILED version of your menu - so if you want it to "see" your new menu (or latest changes) you must force it to see your .mnu file (refer to the HELP files for further guidance).

Hope this helps,

Mitch the Pianomaker :-)
 
LT does not support Lisp!

"pianomaker" wrote:

"John" wrote:
...
> thanks for all your replys
>
> this is the simple lisp routine i'm tyring to run
>
> (defun c:zp (command "'zoom" "p"))
>
> it is part of a larger lisp file, does anyone know how to right it in
diesel
> it gives me a two letter command "ZP = zoom P"
> :) thanks John
>
> John wrote:
>
> > Hi
> > I'm looking to run some old simple lisp Routines (3-4 lines) for
Autocad
> LT
> > 2002, does anyone know how to do it or get some type of add-on ?
> > I do not want to puy drcauto's tool kit as it is about $800 AU a bit
> > expensive just to run some simple lisp Routines.
> > Its not that I do not want to pay for it, just somethink a bit
cheaper.
> > :) thanks in advance, John
> >
> >

Dear John,

Perhaps instead of trying to run a version of your "ZP" lisp program in LT (which, if possible, will require some very convoluted DIESEL programming), you should consider customizeing the ***ACCELERATORS section of the standard ACLT.mnu. You can program AutoCAD commands (and command sequences) into the Function Keys or the numerical keypad ...
 
no one schrieb:

seem to crash as regularly as the other in my opinion. Autocad would still be tops for doing 3D though, as it supports the full edting of ACIS entities.

No. In AutoCAD you can move, rotate, mirror etc ACIS objects, but you can't really edit them. You need MDT to do this.

The latest version of Intellicad will only support the viewing of ACIS entities.

A far better way to handle solids and freeform surfaces than AutoCAD is Rhino3D. I would always recommend the combination of IntelliCAD + Rhino3D instead of AutoCAD.

Tom Berger
 
Status
Not open for further replies.

Latest threads

Back
Top