• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

caricamento file acad.lsp

  • Thread starter Thread starter marcocad
  • Start date Start date

marcocad

Guest
Hello guys I have a problem with autocad 2010.
I press that I haven't changed any settings. a few days ago I opened a file that was given to me and the apertua appeared a window with header: "autolisp - upload acad.lsp file".
in this screen I get 2 options: 1- charge acad.lsp only in the first drawing (consisted)
2 - charge acad.lsp in each design.
What's the matter? She never came out before. The problem is that it always does to me from that day!
Is that a virus? what is the acad.lsp file?
what option do you recommend me to choose? Is it possible to eliminate this discomfort?

Thank you.
 
thanks to both of you! I solved with the stefano board, and now it does not create the acad.lsp file when I open the various files.
but why autocad from how recommended to open the acad.lsp file only for the first design???? Can you help me understand more?

thanks also to you...to those I had already given a read, but in fact it is not about the vlx (lucky) nor the virus that affects the acad.lsp file...it does not give me such problems to today.
cmq I will keep you updated:)

news
Hello and thank you guys again
 
acad.lsp is a file where the user can put functions or commands that need to be loaded. if only once then it is good only for the first drawing, if it has functions or commands that must be loaded for each drawing it must be loaded at each drawing opening.

But he writes under something?

I use it for example to set some variables that autocad changes from drawing to drawing. you list them:

This is my acad.lsp
;

(if (getvar "flatland")
(progn (setvar "flatland" 0) (command "ucsicon" 0)
)
;
;
(prompt "\n")
(load"ssx") (prompt "\nnota rob.: for the selection of entities assigned (ssx) also as direct left")
(prompt "\n")
(load"ref") (prompt "\nnota rob.: ref for reference function")
(prompt "\n")
; (setvar "blipmode" 0) (prompt "\ncon blipmode to 0 eliminate the crucifixes post selection")
; (setvar "pickbox" 3) (prompt "\npickbox is reported to the default 3 value")
(setvar "orthomode" 1) (prompt "\ncon orthomode to 1 inserted orthomode' - equivalent to f8")
(setvar "highlight" 1) (prompt "\ncon highlight at 1 is set the highlighting...")
(setvar "snapmode" 1) (prompt "\ncon snapmode a 1 is inserted the snap - equival. to the f9 button)
(setvar "luprec" 3) (prompt "\ncon luprec at 3 I put 3 decimals")
(setvar "auprec" 4) (prompt "\ncon auprec to 4 I put 4 decimals on the corners")
; (setvar "regenmode" 0) (prompt "\ncon regenmode to 0 the regeneration of the design will always be required")
(setvar "regenmode" 1) (prompt "\ncon regenmode at 1 the regeneration of the design will no longer be required")
; (setvar "gridmode" 0) (prompt "\ncon shoutmode to 0 is deactivated the grid - button f7")
(setvar "expert" 0) (prompt "\ncon expert a 0 are enabled all alerts for regeneration. save, layer, etc.")
; (setvar "dragmode" 2) (prompt "\ncon dragmode to 2 drag will always be visible")
(setvar "mirrtext" 0) (prompt "\ncon mirrtext a 0 words will remain readable after mirror")
; (setvar "pdmode" 0) (prompt "\ncon pdmode to 0 points will be normal")
; (setvar "filedia" 0) (prompt "\ntolti i panei di menu, save, wblock etc.")
(setvar "limcheck" 0) (prompt "\ncon limcheck to 0 the limits of the design can be exceeded...")
(setvar "fillmode" 1) (prompt "\ncon fillmode at 1 the polylines will be full")
(setvar "fill" 1) (prompt "\ncon textfill at 1 texts are printed full (normal!)")
(prompt "\n")
(prompt "\n")
(command "-layer" "_c" "250" "0") ;imposed color 250 to layer 0
(command ") ; end of the layer command
(command "_viewres" "20000") ;imp viewres at 20,000 for all dwg that will be saved
;
; (command "snapunit" "0.025,0.025") ;snapunit fixed at 0.025 and 0.025
;
(prompt "\n")
;
; (load"fprop.vlx") (prompt "\nloaded fprop.vlx for reduced ownership change")
; (load)gagutil.vlx)
; (load"ctext.lsp") (prompt "\nloaded ctext.lsp for texts")
; (load "qaa.vlx") (prompt "\nqaa for automatic quotas from s. gaggioli")
; (load"objcolay.lsp") (prompt "\nloaded objcolay to assign a new layer to each color")
(prompt "\n")
(prompt "\nletto acad.lsp updated at 12 Nov 2010 in a-miei folder")
(prompt "\n")
(prompt "\n")

when there is ; at the beginning of the line means that the text can only be valid as a comment, without activating anything.

:smile:
 
thank you roberto for the answer. very complete. I never used lisp.
I didn't get out of here. I guess then the file that I was past contained a lisp that was recharged right?

if imposed charge lsp in every design affect performance?

practically when in every other autocad design asked me if to upload the lisp only in the first, it meant not know, to the default lisp preloaded by the program?

Thank you. .
cmq you gave me a great straight, beautiful thought to customize the settings via lisp.
 
No, don't worry, it doesn't affect you.

you create the acad.lsp file and put it in a folder where autocad sees it (or the main folder or one that checks the path in the options), it will be a good help... .
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top