Author Topic: Reinstall with .pgp bugs....  (Read 7662 times)

0 Members and 1 Guest are viewing this topic.

Dr. After

  • Guest
Reinstall with .pgp bugs....
« on: July 27, 2005, 10:54:44 AM »
I had to reinstall ACAD per their request even though that didn't fix the problem (nuther story...) and when I added my additives to the bottom of the .pgp file for my hotkeys, it does most of them except the hotkey "fs" which still reverts to fsmode or fastselect and I can't find where that command is even listed in the .pgp file to cancel it.  Any clues?

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #1 on: July 27, 2005, 11:03:20 AM »
It'd be easier to help if you'd post your pgp file.

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #2 on: July 27, 2005, 11:13:35 AM »
;
;
;  Program Parameters File For AutoCAD 2006
;  External Command and Command Alias Definitions

;  Copyright (C) 1997-2005 by Autodesk, Inc.  All Rights Reserved.

;  Each time you open a new or existing drawing, AutoCAD searches
;  the support path and reads the first acad.pgp file that it finds.

;  -- External Commands --
;  While AutoCAD is running, you can invoke other programs or utilities
;  such Windows system commands, utilities, and applications.
;  You define external commands by specifying a command name to be used
;  from the AutoCAD command prompt and an executable command string
;  that is passed to the operating system.

;  -- Command Aliases --
;  The Command Aliases section of this file provides default settings for
;  AutoCAD command shortcuts.  Note: It is not recommended that  you directly
;  modify this section of the PGP file., as any changes you make to this section of the
;  file will not migrate successfully if you upgrade your AutoCAD to a
;  newer version.  Instead, make changes to the new
;  User Defined Command Aliases
;  section towards the end of this file.

;  -- User Defined Command Aliases --
;  You can abbreviate frequently used AutoCAD commands by defining
;  aliases for them in the User Defined Command Aliases section of acad.pgp.
;  You can create a command alias for any AutoCAD command,
;  device driver command, or external command.

;  Recommendation: back up this file before editing it.  To ensure that
;  any changes you make to PGP settings can successfully be migrated
;  when you upgrade to the next version of AutoCAD, it is suggested that
;  you make any changes to the default settings in the User Defined Command
;  Aliases section at the end of this file.

;  External command format:
;  <Command name>,[<Shell request>],<Bit flag>,
  • <Prompt>,


;  The bits of the bit flag have the following meanings:
;  Bit 1: if set, don't wait for the application to finish
;  Bit 2: if set, run the application minimized
;  Bit 4: if set, run the application "hidden"
;  Bit 8: if set, put the argument string in quotes
;
;  Fill the "bit flag" field with the sum of the desired bits.
;  Bits 2 and 4 are mutually exclusive; if both are specified, only
;  the 2 bit is used. The most useful values are likely to be 0
;  (start the application and wait for it to finish), 1 (start the
;  application and don't wait), 3 (minimize and don't wait), and 5
;  (hide and don't wait). Values of 2 and 4 should normally be avoided,
;  as they make AutoCAD unavailable until the application has completed.
;
;  Bit 8 allows commands like DEL to work properly with filenames that
;  have spaces such as "long filename.dwg".  Note that this will interfere
;  with passing space delimited lists of file names to these same commands.
;  If you prefer multiplefile support to using long file names, turn off
;  the "8" bit in those commands.

;  Examples of external commands for command windows

CATALOG,   DIR /W,         8,File specification: ,
DEL,       DEL,            8,File to delete: ,
DIR,       DIR,            8,File specification: ,
EDIT,      START EDIT,     9,File to edit: ,
SH,        ,               1,*OS Command: ,
SHELL,     ,               1,*OS Command: ,
START,     START,          1,*Application to start: ,
TYPE,      TYPE,           8,File to list: ,

; Examples of external commands for Windows
; See also the (STARTAPP) AutoLISP function for an alternative method.

EXPLORER,  START EXPLORER, 1,,
NOTEPAD,   START NOTEPAD,  1,*File to edit: ,
PBRUSH,    START PBRUSH,   1,,


; Command alias format:
;   <Alias>,*<Full command name>

;  The following are guidelines for creating new command aliases.
;  1. An alias should reduce a command by at least two characters.
;      Commands with a control key equivalent, status bar button,
;      or function key do not require a command alias.
;      Examples: Control N, O, P, and S for New, Open, Print, Save.
;  2. Try the first character of the command, then try the first two,
;      then the first three.
;  3. Once an alias is defined, add suffixes for related aliases:
;      Examples: R for Redraw, RA for Redrawall, L for Line, LT for
;      Linetype.
;  4. Use a hyphen to differentiate between command line and dialog
;      box commands.
;      Example: B for Block, -B for -Block.
;
; Exceptions to the rules include AA for Area, T for Mtext, X for Explode.

;  -- Sample aliases for AutoCAD commands --                  
;  These examples include most frequently used commands.  NOTE: It is recommended
;  that you not make any changes to this section of the PGP file to ensure the
;  proper migration of your customizations when you upgrade to the next version of
;  AutoCAD.  The aliases listed in this section are repeated in the User Custom
;  Settings section at the end of this file, which can safely be edited while
;  ensuring your changes will successfully migrate.



3A,        *3DARRAY
3DO,       *3DORBIT
3F,        *3DFACE
3P,        *3DPOLY
A,         *ARC
AC,        *BACTION
ADC,       *ADCENTER
AA,        *AREA
AL,        *ALIGN
AP,        *APPLOAD
AR,        *ARRAY
-AR,       *-ARRAY
ATT,       *ATTDEF
-ATT,      *-ATTDEF
ATE,       *ATTEDIT
-ATE,      *-ATTEDIT
ATTE,      *-ATTEDIT
B,         *BLOCK
-B,        *-BLOCK
BC,        *BCLOSE
BE,        *BEDIT
BH,        *HATCH
BO,        *BOUNDARY
-BO,       *-BOUNDARY
BR,        *BREAK
BS,        *BSAVE
C,         *CIRCLE
CH,        *PROPERTIES
-CH,       *CHANGE
CHA,       *CHAMFER
CHK,       *CHECKSTANDARDS
CLI,       *COMMANDLINE
COL,       *COLOR
COLOUR,    *COLOR
CO,        *COPY
CP,        *COPY
CT,        *CTABLESTYLE
D,         *DIMSTYLE
DAL,       *DIMALIGNED
DAN,       *DIMANGULAR
DAR,       *DIMARC
JOG,       *DIMJOGGED
DBA,       *DIMBASELINE
DBC,       *DBCONNECT
DC,        *ADCENTER
DCE,       *DIMCENTER
DCENTER,   *ADCENTER
DCO,       *DIMCONTINUE
DDA,       *DIMDISASSOCIATE
DDI,       *DIMDIAMETER
DED,       *DIMEDIT
DI,        *DIST
DIV,       *DIVIDE
DJO,       *DIMJOGGED
DLI,       *DIMLINEAR
DO,        *DONUT
DOR,       *DIMORDINATE
DOV,       *DIMOVERRIDE
DR,        *DRAWORDER
DRA,       *DIMRADIUS
DRE,       *DIMREASSOCIATE
DRM,       *DRAWINGRECOVERY
DS,        *DSETTINGS
DST,       *DIMSTYLE
DT,        *TEXT
DV,        *DVIEW
E,         *ERASE
ED,        *DDEDIT
EL,        *ELLIPSE
EX,        *EXTEND
EXIT,      *QUIT
EXP,       *EXPORT
EXT,       *EXTRUDE
F,         *FILLET
FI,        *FILTER
G,         *GROUP
-G,        *-GROUP
GD,        *GRADIENT
GR,        *DDGRIPS
H,         *HATCH
-H,        *-HATCH
HE,        *HATCHEDIT
HI,        *HIDE
I,         *INSERT
-I,        *-INSERT
IAD,       *IMAGEADJUST
IAT,       *IMAGEATTACH
ICL,       *IMAGECLIP
IM,        *IMAGE
-IM,       *-IMAGE
IMP,       *IMPORT
IN,        *INTERSECT
INF,       *INTERFERE
IO,        *INSERTOBJ
J,         *JOIN
L,         *LINE
LA,        *LAYER
-LA,       *-LAYER
LE,        *QLEADER
LEN,       *LENGTHEN
LI,        *LIST
LINEWEIGHT, *LWEIGHT
LO,        *-LAYOUT
LS,        *LIST
LT,        *LINETYPE
-LT,       *-LINETYPE
LTYPE,     *LINETYPE
-LTYPE,    *-LINETYPE
LTS,       *LTSCALE
LW,        *LWEIGHT
M,         *MOVE
MA,        *MATCHPROP
ME,        *MEASURE
MI,        *MIRROR
ML,        *MLINE
MO,        *PROPERTIES
MS,        *MSPACE
MSM,       *MARKUP
MT,        *MTEXT
MV,        *MVIEW
O,         *OFFSET
OP,        *OPTIONS
ORBIT,     *3DORBIT
OS,        *OSNAP
-OS,       *-OSNAP
P,         *PAN
-P,        *-PAN
PA,        *PASTESPEC
PARAM,     *BPARAMETER
PARTIALOPEN, *-PARTIALOPEN
PE,        *PEDIT
PL,        *PLINE
PO,        *POINT
POL,       *POLYGON
PR,        *PROPERTIES
PRCLOSE,   *PROPERTIESCLOSE
PROPS,     *PROPERTIES
PRE,       *PREVIEW
PRINT,     *PLOT
PS,        *PSPACE
PTW,       *PUBLISHTOWEB
PU,        *PURGE
-PU,       *-PURGE
QC,        *QUICKCALC
R,         *REDRAW
RA,        *REDRAWALL
RE,        *REGEN
REA,       *REGENALL
REC,       *RECTANG
REG,       *REGION
REN,       *RENAME
-REN,      *-RENAME
REV,       *REVOLVE
RO,        *ROTATE
RPR,       *RPREF
RR,        *RENDER
S,         *STRETCH
SC,        *SCALE
SCR,       *SCRIPT
SE,        *DSETTINGS
SEC,       *SECTION
SET,       *SETVAR
SHA,       *SHADEMODE
SL,        *SLICE
SN,        *SNAP
SO,        *SOLID
SP,        *SPELL
SPL,       *SPLINE
SPE,       *SPLINEDIT
SSM,       *SHEETSET
ST,        *STYLE
STA,       *STANDARDS
SU,        *SUBTRACT
T,         *MTEXT
-T,        *-MTEXT
TA,        *TABLET
TB,        *TABLE
TH,        *THICKNESS
TI,        *TILEMODE
TO,        *TOOLBAR
TOL,       *TOLERANCE
TOR,       *TORUS
TP,        *TOOLPALETTES
TR,        *TRIM
TS,        *TABLESTYLE
UC,        *UCSMAN
UN,        *UNITS
-UN,       *-UNITS
UNI,       *UNION
V,         *VIEW
-V,        *-VIEW
VP,        *DDVPOINT
-VP,       *VPOINT
VS,        *BVSTATE
W,         *WBLOCK
-W,        *-WBLOCK
WE,        *WEDGE
X,         *EXPLODE
XA,        *XATTACH
XB,        *XBIND
-XB,       *-XBIND
XC,        *XCLIP
XL,        *XLINE
XR,        *XREF
-XR,       *-XREF
Z,         *ZOOM

; The following are alternative aliases and aliases as supplied
;  in AutoCAD Release 13.

AV,        *DSVIEWER
CP,        *COPY
DIMALI,    *DIMALIGNED
DIMANG,    *DIMANGULAR
DIMBASE,   *DIMBASELINE
DIMCONT,   *DIMCONTINUE
DIMDIA,    *DIMDIAMETER
DIMED,     *DIMEDIT
DIMTED,    *DIMTEDIT
DIMLIN,    *DIMLINEAR
DIMORD,    *DIMORDINATE
DIMRAD,    *DIMRADIUS
DIMSTY,    *DIMSTYLE
DIMOVER,   *DIMOVERRIDE
LEAD,      *LEADER
TM,        *TILEMODE

; Aliases for Hyperlink/URL Release 14 compatibility
SAVEURL, *SAVE
OPENURL,   *OPEN
INSERTURL, *INSERT

; Aliases for commands discontinued in AutoCAD 2000:
AAD,        *DBCONNECT
AEX,        *DBCONNECT
ALI,        *DBCONNECT
ASQ,        *DBCONNECT
ARO,        *DBCONNECT
ASE,        *DBCONNECT
DDATTDEF,   *ATTDEF
DDATTEXT,   *ATTEXT
DDCHPROP,   *PROPERTIES
DDCOLOR,    *COLOR
DDLMODES,   *LAYER
DDLTYPE,    *LINETYPE
DDMODIFY,   *PROPERTIES
DDOSNAP,    *OSNAP
DDUCS,      *UCS

; Aliases for commands discontinued in AutoCAD 2004:
ACADBLOCKDIALOG,  *BLOCK
ACADWBLOCKDIALOG, *WBLOCK
ADCENTER,         *ADCENTER
BMAKE,              *BLOCK
BMOD,             *BLOCK
BPOLY,              *BOUNDARY
CONTENT,          *ADCENTER
DDATTE,             *ATTEDIT
DDIM,             *DIMSTYLE
DDINSERT,         *INSERT
DDPLOTSTAMP,      *PLOTSTAMP
DDRMODES,         *DSETTINGS
DDSTYLE,          *STYLE
DDUCS,              *UCSMAN
DDUCSP,             *UCSMAN
DDUNITS,          *UNITS
DDVIEW,             *VIEW
DIMHORIZONTAL,      *DIMLINEAR
DIMROTATED,         *DIMLINEAR
DIMVERTICAL,      *DIMLINEAR
DOUGHNUT,         *DONUT
DTEXT,              *TEXT
DWFOUT,             *PLOT
DXFIN,              *OPEN
DXFOUT,             *SAVEAS
PAINTER,          *MATCHPROP
PREFERENCES,      *OPTIONS
RECTANGLE,          *RECTANG
SHADE,              *SHADEMODE
VIEWPORTS,          *VPORTS

;  -- User Defined Command Aliases --
;  Make any changes or additions to the default AutoCAD command aliases in
;  this section to ensure successful migration of these settings when you
;  upgrade to the next version of AutoCAD.  If a command alias appears more
;  than once in this file, items in the User Defined Command Alias take
;  precedence over duplicates that appear earlier in the file.
;  **********----------**********  ; No xlate ; DO NOT REMOVE


B,   *BREAK
BB,   *BLOCK
CC,   *COPY
CD,   *REVCLOUD
DC,   *DDDIM
DD,   *DIST
DX,   *DIMASSOC
EX,   *EXPLODE
FA,   *FAST
FS,   *OFFSET
MM,   *MSPACE
PP,   *PSPACE
RT,   *ROTATE
SA,   *QSAVE
SS,   *MVSETUP
SX,   *SAVEAS
X,   *MATCHPROP
XT,   *EXTEND

--------------------------------------------------

It's all vanilla 2006 except what I added in the end.

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #3 on: July 27, 2005, 11:34:30 AM »
Hmmm. I don't see anything out of the ordinary. I'll have to default to someone with 2006.

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #4 on: July 27, 2005, 11:39:02 AM »
I don't think this is any different then before...  It just won't accept "fs" as offset.  All the others seem to work fine, though.

M-dub

  • Guest
Reinstall with .pgp bugs....
« Reply #5 on: July 27, 2005, 11:43:55 AM »
Did you try a REINIT?

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #6 on: July 27, 2005, 11:44:49 AM »
Do you have any lisps that might be called fs? That's the only thing I can think of that might be overriding your pgp offset.

M-dub

  • Guest
Reinstall with .pgp bugs....
« Reply #7 on: July 27, 2005, 11:58:15 AM »
It's in Express Tools -> Selection Tools -> Fast Select.  I don't know how / if you can redefine that....unless you delete the lisp in ET.  (?)

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #8 on: July 27, 2005, 12:03:30 PM »
That should do it. I'd change the pgp.

ronjonp

  • Needs a day job
  • Posts: 7529
Reinstall with .pgp bugs....
« Reply #9 on: July 27, 2005, 12:07:17 PM »
In 2005, FS is already defined.

Command: fs

Use 'FSMODE to control chain selection.
FSMODE = OFF
Select touching object:

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #10 on: July 27, 2005, 12:23:14 PM »
REINIT did not work...

So "fs" is defined in the express tools, but why does that override my .pgp file?

[daron] what should I change in the .pgp file?

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #11 on: July 27, 2005, 12:34:37 PM »
Lisps override the pgp. They're loaded After the pgp. Whatever is loaded last takes precedence.
Change, in your pgp, fs to something else, instead of trying to redefine fastselect or the other fs that autocad is using. Try something like fsf or ffs. Before I ever decide on a command name or alias, I try it out to see if it's already defined.

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #12 on: July 27, 2005, 12:47:22 PM »
No crap, make sure it isn't overriding anything else...  which is what I did 7 years ago.  So basically now that AutoCAD added this in the express tools without consulting me first, my 7 year old habit must change!?  Shucks...  I don't accept that.  This is my most used command and that is not about to change.

I'll just modify the express tool files...  anyone know which one has this command called out?

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #13 on: July 27, 2005, 12:49:26 PM »
Nevermind...  I found it.  I edited the file to change all instances of the defun command c: fs --> fas but it still wants to find the fastselect command.  Is ther somewhere else I need to modify?  Another file that is?

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Reinstall with .pgp bugs....
« Reply #14 on: July 27, 2005, 12:52:00 PM »
You can simply use a startup routine to set C:FS to nil ...

Code: [Select]

(defun S::STARTUP()
 (setq C:FS nil)
)


Put that in the Acaddoc.lsp or Acad.lsp and you should be fine ... or not
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie