Author Topic: Shortcuts  (Read 19299 times)

0 Members and 1 Guest are viewing this topic.

Bryco

  • Water Moccasin
  • Posts: 1882
Shortcuts
« on: March 06, 2006, 10:51:39 PM »
Do most places allow it?
I ask the drafters to keep changing native commands down to a minimum.(R=rectangle, who needs redraw?)
These are some of ours. They are loaded on each machine, but drafters can use their own.
3R,        *ROTATE3D
AU,        *AUDIT
BB,        *-BO
BE,        *BEXTEND
BT,        *BTRIM
CA,        *CAMERA
CB,        *COPYBASE
CC,        *COPY
CM,        *DIMCENTER
CN,        *NCOPY
CV,        *CHA
D,         *DIMLINEAR
DA,        *DAL
DAA,       *DIMANGULAR
DB,        *DIMBASELINE
DC,        *DCO
DD,        *DIMDIAMETER
DF,        *DRAWORDER
DIS,       *DISPSILH
DR,        *DIMRADIUS
DT,        *DTEXT
DV,        *DIVIDE
DVV,       *DVIEW
EE,        *ELLIPSE
H,         *BHATCH
-H,        *-BHATCH
IA,        *IMAGEADJUST
IC,        *IMAGECLIP
II,        *IMAGEFRAME
LL,        *LAYMRG
MM,        *MIRROR
MMM,       *MIRROR3D
PP,        *PLJOIN
Q,         *QLEADER
QQ,        *QLATTACH
QS,        *QSAVE
R,         *REC
RC,        *REFCLOSE
RD,        *RENDER
RF,        *REFEDIT
RR,        *ROTATE
RRR,       *ROTATE3D
RS,        *REFSET
RY,        *RAY
SD,        *SOLIDEDIT
SF,        *SOLPROF
SHA,       *SHADE
SK,        *SKETCH
SM,        *SHADEMODE
SS,        *SPL
TT,        *TEDIT
UU,        *UCS
VV,        *-VPORTS
WP,        *WIPEOUT
XCF,       *XCLIPFRAME
XX,        *XLINE
3DD,       *3DORBIT

Birdy

  • Guest
Re: Shortcuts
« Reply #1 on: March 07, 2006, 08:52:53 PM »
Allow it? I encourage it.  Best thing I learned as a n00b was to hack the .pgp file.
Here's mine

Code: [Select]
/,         *PLOT
`,         *QSAVE
1,         *MATCHPROP
2,         *PAN
3D,        *3DORBIT
A,         *ARC
AA,        *ATTEDIT
AE,        *ALIASEDIT
AL,        *ALIGN
AP,        *APPLOAD
AR,        *ARRAY
B,         *BLOCK
BH,        *BHATCH
BR,        *BREAK
C,         *COPY
CC,        *CIRCLE
CM,        *COPYM
CRAP,      *UNDOALL
D,         *DIMLINEAR
DA,        *DIMALIGNED
DAD,       *DIMADJ
DC,        *DIMCONTINUE
DD,        *DIMANGULAR
DI,        *DIST
DO,        *DONUT
DQ,        *QDIM
DR,        *DIMRADIUS
DRE,       *DIMREASSOCIATE
DT,        *TEXT
DX,        *DIMDIAMETER
E,         *ERASE
ED,        *DDEDIT
EL,        *ELLIPSE
EX,        *EXTEND
F,         *FILLET
FI,        *FT2IN
FT,        *FLIPTEXT
G,         *PLINE
H,         *WOODHATCH
HI,        *HIDE
I,         *INSERT
JDI,       *JUSTDOIT
L,         *LINE
LFD,       *LYRFLTRDEL
LI,        *LIST
LT,        *LOADTOOLBOX
M,         *MOVE
MM,        *MIRROR
MT,        *MTJUST
N,         *DIVIDE
O,         *OFFSET
OP,        *OPTIONS
OS,        *OSNAP
P,         *PEDIT
PCD,       *POINTCLICKDONE
PJ,        *POLYLINEJOIN
POO,       *@#%$#&*!##@!
PU,        *PURGE
Q,         *QLEADER
R,         *ROTATE
RE,        *REGEN
REV,       *REVCLOUD
RR,        *RECTANG
RV,        *MVSETUP
S,         *STRETCH
SC,        *SCALE
SP,        *SPELL
SS,        *SETSCALE
ST,        *STYLE
T,         *TRIM
TWE,       *THATWASEASY
TF,        *TEXTFIT
TT,        *TXT2MTXT
V,         *PREVIEW
VI,        *VISIBILITY
W,         *WBLOCK
X,         *EXPLODE
Z,         *ZOOM

Some are duplicates, some obsolete, some launch lisp routines.
Many others that launch lisps but aren't command aliases.
Only 5 users to support so I generally let them alias as they want.  That could be troublesome in a larger office, I suppose.

Dinosaur

  • Guest
Re: Shortcuts
« Reply #2 on: March 07, 2006, 09:17:38 PM »
ABSOLUTELY let them use their own shortcuts.  There is no real reason to force everyone to use the same set, especially with the new releases keeping individual profiles.  A good set of 2 and 3 key commands are some of the easiest customizations a user at any level can make and I think probably can save more time in any given drafting session than any other program customization.  Occasionally a new release will steal the shortcut combination for a new command, but usually this can be solved quickly.

Slimİ

  • Needs a day job
  • Posts: 6566
  • The Dude Abides...
Re: Shortcuts
« Reply #3 on: March 07, 2006, 09:38:04 PM »
As long as they are only modifying system files... Modifying their ACAD.pgp or a "personal" menu file with a *.mnl file is the best way to understand the basics of ACAD customization.

btw - our ITwit here completely reformats and reinstalls every machine when someone leaves.
I drink beer and I know things....

Bryco

  • Water Moccasin
  • Posts: 1882
Re: Shortcuts
« Reply #4 on: March 07, 2006, 11:10:13 PM »
I had the feeling that people on this site would be all for it, but I have heard stories of offices that do not allow it. I can't imagine working without them. Birdy yours look fairly similar. I didn't include any  lisp shortcuts but I have found xv and xz as shortcuts for xline vertical and xline horizontal have worked out pretty well.

CADaver

  • Guest
Re: Shortcuts
« Reply #5 on: March 08, 2006, 12:23:30 AM »
 :-)
Code: [Select]
3DA,       *3Darray
3DC,       *3dclip
3DCO,      *3DCORBIT
3DD,       *3ddistance
3DF,       *3Dface
3DM,       *3Dmesh
3DO,       *3DORBIT
3DOC,      *3DORBITCTR
3DP,       *3dpan
3DPL,      *3Dpoly
3DZ,       *3dzoom
A,         *-Array
AIPS,      *Ai_pspace
ALE,       *Aliasedit
ALG,       *Align
ANB,       *Angbase
AND,       *Angdir
APL,       *Appload
APT,       *Aperture
ATD,       *-Attdef
ATS,       *attsync
AUN,       *Aunits
AUP,       *Auprec
AV,        *Dsviewer
B,         *Break
BH,        *Bhatch
BL,        *-Block
BLIP,      *Blipmode
BM,        *Block
BND,       *Boundary
-BND,      *-Boundary
BRPL,      *BLOCKREPLACE
BTM,       *Battman
BX,        *Box
C,         *Copy
C2L,       *Copytolayer
CB,        *Copybase
CC,        *Change
CEC,       *Cecolor
CEL,       *Celtype
CH,        *Chamfer
CHA,       *Chamfera
CHB,       *Chamferb
CHSP,      *Chspace
CL,        *Clayer
CLR,       *Color
CN,        *Cone
CP,        *DDchp
-CP,       *Chprop
CR,        *Circle
CSR,       *cursorsize
CX,        *Chgtext
CYL,       *Cylinder
D,         *Dist
DA,        *Ddatte
DAE,       *Ddattext
DC,        *ADCENTER
DCF,       *ADCCLOSE
DCN,       *Dimcontinue
DCNV,      *ADCNAVIGATE
DDAD,      *Attdef
DDCP,      *Exchprop
DDG,       *Ddgrips
DDL,       *Layer
DDM,       *ddmodify
DDO,       *Osnap
DDRN,      *Rename
DDSE,      *Ddselect
DDUN,      *Units
DDUP,      *Dducsp
DDV,       *View
DDVP,      *Ddvpoint
DI,        *Insert
DMALI,     *Dimaligned
DMANG,     *Dimangular
DMAS,      *Dimaso
DMBASE,    *Dimbaseline
DMBL,      *Dimblk
DMBL1,     *Dimblk1
DMBL2,     *Dimblk2
DMDIA,     *Dimdiameter
DMED,      *Dimedit
DMLIN,     *Dimlinear
DMORD,     *Dimordinate
DMOVER,    *Dimoverride
DMRAD,     *Dimradius
DMRE,      *Dimreassociate
DMS,       *Dimstyle
DMTED,     *Dimtedit
DNT,       *Donut
DR,        *Ddrmodes
DRO,       *Draworder
DS,        *Dimscale
DSV,       *DSVIEWER
DT,        *Dtext
DU,        *Dducs
DV,        *Dview
DVD,       *Divide
E,         *Erase
EA,        *Eattedit
EAT,       *Eattext
ED,        *Ddedit
EL,        *Ellipse
ELV,       *Elevation
EP,        *Explode
EX,        *Extend
EXIT,      *Quit
EXT,       *Extrude
F,         *Fillet
FI,        *Filter
FX,        *Exfillet
G,         *Grid
GP,        *Group
GR,        *Grips
GU,        *Gridunit
HA,        *Hatch
HI,        *Highlight
HTED,      *Hatchedit
I,         *-Insert
INTRF,     *Interfere
INTRS,     *Intersect
JTX,       *justifytext
JV,        *Justview
L,         *Line
LA,        *-Layer
LEAD,      *Leader
LG,        *Lengthen
LIM,       *Limits
LP,        *Layerp
LT,        *List
LTS,       *Ltscale
LTY,       *Linetype
LUN,       *Lunits
LUP,       *Luprec
LW,        *Laywalk
M,         *Move
MI,        *Mirror
MI3,       *Mirror3d
MIT,       *Mirrtext
ML,        *Mline
MLED,      *Mledit
MLS,       *Mlstyle
MP,        *Matchprop
MS,        *Mspace
MSL,       *Mslide
MSP,       *Massprop
MSR,       *Measure
MST,       *Mstretch
MT,        *Mtext
MTP,       *Mtprop
MV,        *Mview
O,         *Offset
OBSC,      *OBSCUREDCOLOR
OBSL,      *OBSCUREDLTYPE
OS,        *-Osnap
OSM,       *Osmode
P,         *-Pan
PB,        *Pickbox
PDM,       *Pdmode
PDS,       *Pdsize
PE,        *Pedit
PG,        *Polygon
PL,        *Pline
PLG,       *Plinegen
PLJ,       *PLJOIN
PR,        *PROPERTIES
PS,        *Pspace
PSLTS,     *Psltscale
PST,       *Pickstyle
PT,        *Point
PV,        *Preview
Q,         *Propstgl
QS,        *Qsave
R,         *Rotate
R3,        *Rotate3d
RC,        *rectang
RCLD,      *Revcloud
RD,        *Redraw
RDA,       *Redrawall
REIN,      *Reinit
REV,       *Revolve
RFE,       *refedit
RG,        *Regen
RGA,       *Regenall
RGAT,      *Regenauto
RGMOD,     *Regenmode
RGN,       *Region
RLSRF,     *Rulesurf
RN,        *-Rename
RVSRF,     *Revsurf
S,         *Snap
SC,        *Scale
SCR,       *Script
SCT,       *Section
SCTX,      *scaletext
SD,        *Solid
SE,        *Select
SED,       *solidedit
SHD,       *SHADEMODE
SK,        *Sketch
SKP,       *Skpoly
SLC,       *Slice
SNA,       *Snapang
SNB,       *Snapbase
SNU,       *Snapunit
SOL,       *solidedit
SPC,       *spacetrans
SPH,       *Sphere
SPL,       *Spell
SPN,       *Spline
SPNE,      *Splinedit
ST,        *Stretch
STS,       *Status
STV,       *Setvar
STY,       *Style
SUB,       *Subtract
SV,        *Save
SVAS,      *Saveas
T,         *Trim
TAB,       *Tablet
TABS,      *Tabsurf
TB,        *Toolbar
-TB,       *-Toolbar
TC,        *tcase
TE,        *tedit
TF,        *TFRAMES
THK,       *Thickness
TJ,        *TJUST
TM,        *Tilemode
TOL,       *Tolerance
TRS,       *Torus
TSF,       *TSPACEFAC
TST,       *TSPACETYPE
TX,        *Text
TXM,       *Txt2mtxt
TXS,       *Textstyle
UCI,       *Ucsicon
UCM,       *ucsman
UN,        *Units
UNN,       *Union
V,         *-View
VISR,      *Visretain
VP,        *Vpoint
VPC,       *vpclip
VPL,       *Vplayer
VPN,       *Vpsync
VPR,       *Vports
-VPR,      *-Vports
VPS,       *Vpscale
VPW,       *vpswap
VRES,      *Viewres
VSL,       *Vslide
WB,        *Wblock
WDG,       *Wedge
XB,        *Xbind
XC,        *Xclip
XL,        *Xline
XR,        *Xref
XRCL,      *Xrefctl
Z,         *Zoom


Bryco

  • Water Moccasin
  • Posts: 1882
Re: Shortcuts
« Reply #6 on: March 08, 2006, 12:45:31 AM »
Some serious 3d in there Cadaver but "Blip".  Man you gotta be over 20 lol.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Shortcuts
« Reply #7 on: March 08, 2006, 01:18:17 AM »
Just a comment ;

Extensive and universal use of PGP customisation is normal, but it can come undone when "developers" define short command names in protected Lisp, vba, arx code, or even in open support files.

In short, don't, unless you want to be sworn at by in-house customisers. { speaking from personal experience, and I still have the old bruises }

The answer is to give the in-house guy a hook via autoload or somesuch allowing him to provide his own shortcuts to your routines

.. and generally, it's better to add your own PGP commands to the end of the PGP file .. and save them, it makes upgrading a little easier.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

hudster

  • Gator
  • Posts: 2848
Re: Shortcuts
« Reply #8 on: March 08, 2006, 03:42:37 AM »
I don't encourage editing the pgp file. I did however create a custom company menu, and add keyboard shortcuts to the mnl file on that menu.
Revit BDS 2017, 2016, 2015, 2014, AutoCAD 2017, 2016, Navisworks 2017, 2016, BIM360 Glue

nivuahc

  • Guest
Re: Shortcuts
« Reply #9 on: March 08, 2006, 06:41:40 AM »
If you are on a network, you can do what I did, back in the day...

I had a routine in the acaddoc.lsp that checked the users Z: drive (their /home folder on the network) for the existence of a menu such as 'user_name.mns' and loaded it last, if it existed. If it didn't exist, the routine would create a blank with their username. Any customizations that they felt the need to do, they would do to their personal menu/mnl files. That way, if they ever logged on to another machine, all of their customizations would follow. And, being the resident nITwit, it has been my duty to replace a persons machine from time to time. This way, when I take out their old machine and give them a new one, they don't lose all of their customizations.

pmvliet

  • Guest
Re: Shortcuts
« Reply #10 on: March 08, 2006, 10:38:52 AM »
I once worked at a place that wanted all the drafters to have the same PGP file!!  :pissed:
I'm like "you have got to be kidding" I've been using my shortcuts for over 5 years
and now you want to make me conform to a new system...

Well it didn't happen.

Pieter

CADaver

  • Guest
Re: Shortcuts
« Reply #11 on: March 08, 2006, 10:21:37 PM »
round here, (right, wrong, or otherwise) we do it "my way".   ^-^

If a user wants his own, he can do so by adding it's directory to the top of the search path.

The company and client menus are fixed, if a user wants to menuload his own, we have a "personal menu" on his local drive he can edit to his heart's content (on his time)

We have several methods (both formal and informal) of requesting modifications to the basic company functions, and frequently allow the users to do the developement of those functions.  But in general, we've hired them as designers (at a pretty darn good rate at that), not programmers.  The last wanna-be programmer declined my offer to cut his pay in half and transfer him to IT if he "REALLY" wanted to be a programmer.

Jim Yadon

  • Guest
Re: Shortcuts
« Reply #12 on: March 08, 2006, 10:38:50 PM »
I was tired of dealing with the whole pgp thing because each company wanted to have their own. I learned the basics of LISP & customizing my menus and started writing my own stuff. For the first few years I kept a Floppy that I'd load & unload everyday, taking it home to hack out my latest creation. Then I graduated to a CD. I would leave it in the drive unless I was updating or creating something new. Wehn I started into VBA this became very useful. Now I use a thumb drive. All of my personal stuff that remains experimental or is still not fit for public consumption remains on there. Of course I have my own little security scheme worked out that prevents 95% of folks from trying to steal copies when I'm not around and trying to use them. I am actually amazed that there are still so few people who even know how to encrypt a LISP routine or lock a VBA project. For the few that do, I have other ways to keep them from getting what they're after. Especially the ones who don't know how to read code very well.

CADaver

  • Guest
Re: Shortcuts
« Reply #13 on: March 08, 2006, 10:45:39 PM »
Of course I have my own little security scheme worked out that prevents 95% of folks from trying to steal copies when I'm not around and trying to use them. I am actually amazed that there are still so few people who even know how to encrypt a LISP routine or lock a VBA project. For the few that do, I have other ways to keep them from getting what they're after. Especially the ones who don't know how to read code very well.
Gee, I'm kinda sorry to hear that.  At our office, I post a link to all source code and functions, and give free rein to any who wish to copy and learn.  The directories are write-protected to avoid noodling up a functioning routine, but that's the extent of security.  If everybody was stingy with their code, the Swamp would not exist, and most of us here would know a heck of a lot less about programming.

Dinosaur

  • Guest
Re: Shortcuts
« Reply #14 on: March 08, 2006, 10:55:51 PM »
You have an excellent argument as far as the menus go.  I built an entire custom suite for a structural shop using r12 dos and even that early on, additional customizations had to be monitored for conflicts.  Many powerful custom tools can be placed in a menu that not only enforce a set of office standards, but can make it more difficult to deviate from  than follow them.  I do think you may have a bit of trouble however with your heavy menu customizations if you ever upgrade to r2006 or above unless they take an industrial dose of insecticide after the cui.  It does work for the most part, but have lost many precious hair strands dealing with it.

The pgp is a little bit different animal.  Properly modified with your additions at the end of the file, the only things to cause a problem are duplicate definitions in a menu file.  As a precaution, it is wise to make a copy of the original pgp file and rename it or move it to a secure location before changing anything to allow for a speedy restore.  If a custom command tries to change a core command the customization will be ignored and a new key combination will have to be assigned.