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

0 Members and 1 Guest are viewing this topic.

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #15 on: July 27, 2005, 12:57:41 PM »
I'll just ignore that. The problem won't be in the express tools once you remove the lisp or rename the offending files command name, because as Ron pointed out, there's another command that Autodesk decided to shorten to fs, which you might not be able to remove.

M-dub

  • Guest
Reinstall with .pgp bugs....
« Reply #16 on: July 27, 2005, 01:00:12 PM »
Actually, I tried commenting FS out of Fastsel.lsp and it gave me a different 'error'

Code: [Select]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;(defun c:fs ()
; (c:fastsel)
;);defun c:fs
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Gave me this:

Code: [Select]
Command: fs
Initializing...

"FS" is not defined in: "fastsel.lsp".
The specified command is not installed.
To get the very latest versions of all Express Tools, visit the
Express Tools page on the Autodesk web site at:
  http://www.autodesk.com/expresstools

Do you want to go to the Express Tools web page now? <Y>: n

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #17 on: July 27, 2005, 01:00:15 PM »
Quote from: Keith
You can simply use a startup routine to set C:FS to nil ...


Didn't work for some reason...  still same result.

daron

  • Guest
Reinstall with .pgp bugs....
« Reply #18 on: July 27, 2005, 01:10:34 PM »
Quote
Do you want to go to the Express Tools web page now? <Y>: n

Helpful isn't it?
Two ideas: 1) Mike, did you restart acad after doing that and 2) instead of commenting it out, why don't you just rename it. Of course, the problem with that is when 2007 comes out, then'll come the problem all over again. That's why I say it's easier to rename from the pgp and get used to it.

Tom Smith

  • Guest
Reinstall with .pgp bugs....
« Reply #19 on: July 27, 2005, 01:21:07 PM »
Following up on Keith's suggestion ... you could define C:FS in a (s::startup) function in Acaddoc.lsp or Acad.lsp.

Code: [Select]

(defun S::STARTUP()
 (defun C:FS () (command "offset"))
)


The initialization error comes from an autoload statement somewhere else in the ET setup. Rather then reverse-engineering the ET files, if you just put the defun you want in a (s::Startup) function, it should work.

On opening a drawing, an (s::startup) function executes dead last, after every other thing is loaded. Therefore your defun C:FS should win,  because it's only evaluated when (s::startup) runs, AFTER any and all other like-named defuns have been evaluated. This should also override any pgp definitions, because lisp always wins over those.

M-dub

  • Guest
Reinstall with .pgp bugs....
« Reply #20 on: July 27, 2005, 01:22:34 PM »
Quote from: daron
That's why I say it's easier to rename from the pgp and get used to it.


I agree 100%

It sucks, but so do a lot of other things. :roll:

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Reinstall with .pgp bugs....
« Reply #21 on: July 27, 2005, 01:22:55 PM »
On the command line type this

!C:FS

and

(command "FS")

Report back on what shows up in the command line
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

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #22 on: July 27, 2005, 01:49:18 PM »
nothing happens when I add this string to the acad2006doc.lsp file....

Dr. After

  • Guest
Reinstall with .pgp bugs....
« Reply #23 on: July 27, 2005, 01:52:44 PM »
From Autodesk....  I forgot I solved this once in the past.  :oops:  Sorry guys!  Here is the solution:

FS is defined in the express tools.  If you are absolutely sure you would
like to undefine the FS shortcut to FASTSEL, comment out the corresponding
lines in c:\Program Files\AutoCAD 2006\express\acetauto.lsp

Replace:
(acet-autoload2 '("fastsel" "fs" nil "fastselect" 2))
With:
;(acet-autoload2 '("fastsel" "fs" nil "fastselect" 2))

Note: This will break the Fast Select toolbar button in the Express Tools
toolbars.  To fix this, replace the FastSelect command macro in the CUI
editor ('FS) with ('FASTSEL).

M-dub

  • Guest
Reinstall with .pgp bugs....
« Reply #24 on: July 27, 2005, 01:55:21 PM »
I'll take your word that this solution works.  (I'm not going to try it out)
Thanks for posting it!