Hi Folks,
Tried to use the above to do the same in autocad lt 2013, but there is no such file acad.mns
Does anyone know how to do it ?
Many thanks,
Graham
command: CUI
Have a look at the attached image and modify the macro and access lines to your liking...
You will first need to create a new command (bottom-left pane).
Drag and drop this new command into the shortcut area (top-left pane).
Highlight the line you just added in the top-left pane and edit in the bottom-right pane.
Good Luck!
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.
Many thanks for your reply, I appreciate your time. I created a new command called "pan left", dragged it into 'keyboard shortcuts' in the top left pane, clicked on it. In the right pane, where it says keys I changed this to "control left" (by pressing the keys) . The macro reads "^c^c" and I can't figure out what to put here instead. I tried:
^P [Control+"LEFT"]'-pan ^P(trans (list (* 0.25 (getvar "viewsize")) 0) 0 1)
When I try control left in model space it brings up CUI again, I'm quite sure I'm doing the macro wrong, please forgive my ignorance - can you spell it out for me?! Also, is it possible to just use the arrow keys instead of holding control?
Thanks.
Graham
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.
Thanks for that, tried it and it basically does the same as typing -pan in the command line. It says:
Command: -pan Specify base point or displacement: (trans
Requires two points, or a displacement followed by ENTER.
Any ideas? I'd like to figure it out for myself but I dont know what trans etc. means, and I couldn't find a simple guide, how did you learn how to write the code?
Many thanks.
p.s. I tried ^C^c -pan ; 0,0 ; 1000,0
This works, but only effective when zoomed in - I guess I need to do it relative to the current zoom, such as by pixels instead of mm ?