LISP to Diesel help

LISP to Diesel help

ryanrettig
Contributor Contributor
1,384 Views
9 Replies
Message 1 of 10

LISP to Diesel help

ryanrettig
Contributor
Contributor

I have been in full versions of AutoCAD for over the last decade. I recently changed companies and was given a LT version. I have numerous LISP files I am used to using but a couple that I would really like to see if they could be transferred over. The first is a zoom command lisp file, second is a page setups. my last file I have a feeling can not be but it is a a renumber lisp. I have attached all 3. Any help would be appreciated, I have modified and wrote a few others but have not done anything with Diesel.  Thank you in advance. 

0 Likes
Accepted solutions (1)
1,385 Views
9 Replies
Replies (9)
Message 2 of 10

ryanrettig
Contributor
Contributor
I mainly want to know if any of them could be converted and used or if it is a waste of time trying to. Thanks.
0 Likes
Message 3 of 10

ВeekeeCZ
Consultant
Consultant
Accepted solution

zooms are easy to do. it could be a button on ribbon or toolpalette or shortcut say Alt+Ctrt+E. Not ZE.

pagesetup and renum impossible.

0 Likes
Message 4 of 10

ryanrettig
Contributor
Contributor

@ВeekeeCZ  Thanks, ill have to look in to Diesel so I can recreate the zooms.  One is better than none.

0 Likes
Message 5 of 10

ВeekeeCZ
Consultant
Consultant

It's not much about diesel.. just a menu macro - sequence of commands.

Besides, most of the zoom macros are already there - go to CUI (hope LT have one) and type ZOOM. 

Just learn how to create a keyboard shortcut in CUI or a Toolpalette or anything...

 

Z9E3zK5E_1-1628012070320.png

 

DIESEL is mostly about some menu shortcuts (for UI). It is very limited therefore challenging. Not many people here can write something a bit complicated.

0 Likes
Message 6 of 10

ryanrettig
Contributor
Contributor

Honestly completely overlooked the macro option.  Thanks

0 Likes
Message 7 of 10

Kent1Cooper
Consultant
Consultant

@ryanrettig wrote:

.... ill have to look in to Diesel so I can recreate the zooms.  ....


Do they need to be in Diesel?  Can't they just be command macros?

 

^C^C_.xline a 45
^C^C_.xline a 135
^C^C_.xline h
^C^C_.xline v
'_.zoom a
'_.zoom d
'_.zoom e
'_.zoom
'_.zoom p
'_.zoom v

 

Zoom is a transparent command when prefixed with the apostrophe ', so you can use those [in Tool Palette items, for example] in the middle of other commands [that's why I left the double-cancels out of them].  Where you had Zoom Window, I left off the W, because that's the default operation without specifying it.

Kent Cooper, AIA
0 Likes
Message 8 of 10

ryanrettig
Contributor
Contributor

Doesn't have to be Diesel, someone else had mentioned macros a little bit ago and honestly I completely overlooked the option. Went the complicated route instead of the simplistic. 

0 Likes
Message 9 of 10

mid-awe
Collaborator
Collaborator

Diesel, the  Dumb Interpretively Evaluated String Expression Language.

0 Likes
Message 10 of 10

Sea-Haven
Mentor
Mentor

LT supports toolbars and a toolbar only menu can be made very easy using just Notepad, so all your zooms could be buttons. You can use Autocad icons or make your own Z A etc Same for your macro's call from toolbar. 

 

SeaHaven_0-1628033416293.png

 

0 Likes