0 Members and 1 Guest are viewing this topic.
What do you mean your acad wont start? BTW, did you edit this file in MS Word?
great. now my acad won't open!BTW- I put the lsp in the startup, so that tells me I have to change something. Just before, I did this:Replaced(setvar user_layer (getvar "clayer"))to:(setq user_layer (getvar "clayer"))and...(setvar user_os (getvar "osmode"))to(setq user_os (getvar "osmode"))So now how do I get my ACAD back up and running?
Nothing in the routine should have ruined your Acad. This is just a simple routine to speedup some button pushing.Standard IT response.... Did you try rebooting?? ... Crazy thing is.. it works most of the time.
and.... can you post/or/upload your code (the file) here.... maybe is something in there.
Quote from: LE on October 18, 2007, 05:58:10 PMand.... can you post/or/upload your code (the file) here.... maybe is something in there.I think it was a gliche or something... our server has been acting up today (it's stormy weather here today).
(setq user_ortho (getvar "orthomode")) (setvar "orthomode" 0)
;;Revcloud from spline(defun C:RS (/ user_layer user_os user_ortho) (setq user_layer (getvar "clayer")) (setvar "clayer" "CLOUD") (setq user_os (getvar "osmode")) (setvar "osmode" 0) (setq user_ortho (getvar "orthomode")) (setvar "orthomode" 0) (command "_.spline") (while (> (getvar "CmdActive") 0) (command pause) ) (command "_.revcloud" "o" "l" "n") (setvar "clayer" user_layer) (setvar "osmode" user_os) (setvar "orthomode" user_ortho) (princ))
will this work?Code: [Select];;Revcloud from spline(defun C:RS (/ user_layer user_os user_ortho) (setq user_layer (getvar "clayer")) (setvar "clayer" "CLOUD") (setq user_os (getvar "osmode")) (setvar "osmode" 0) (setq user_ortho (getvar "orthomode")) (setvar "orthomode" 0) (command "_.spline") (while (> (getvar "CmdActive") 0) (command pause) ) (command "_.revcloud" "o" "l" "n") (setvar "clayer" user_layer) (setvar "osmode" user_os) (setvar "orthomode" user_ortho) (princ))
You even added your new variable to the local variable list, nice! Soon you will be giving others advice on how to fix their routines.