AutoCAD Lisp to Pan a certain, stored distance.

AutoCAD Lisp to Pan a certain, stored distance.

Michael.Traveller
Participant Participant
3,595 Views
21 Replies
Message 1 of 22

AutoCAD Lisp to Pan a certain, stored distance.

Michael.Traveller
Participant
Participant

Hello everyone,

 

I work in HVAC and Pluming design where we have multiple floors, and l always have to pan a certain distance to jump between floors which are separated with a certain distance, "a".

 

Though, l am looking for a lisp which asks me the panning input distance.

 

Any help is greatly appreciated,

 

Thank you!

0 Likes
Accepted solutions (2)
3,596 Views
21 Replies
Replies (21)
Message 21 of 22

Sea-Haven
Mentor
Mentor

Just a side comment I wrote a reactor function so if I was to type U2400 it will return unknown command but the rest of the code says pan up or move 2400 up, decimals are supported as well. 

 

I have it for fillet circles and offsets. C123 o45 etc Happy to post.

0 Likes
Message 22 of 22

jogibson6PA7C
Contributor
Contributor

I tried to edit this lsp to make it pan horizontally, but after changing all instances of vp to hp it still pans vertically?  I'm not sure what I'm doing wrong here.

0 Likes