Jump to content

acad2012.lsp problem


ripuz

Recommended Posts

Hi!

 

I have a problem with acad2012.lsp... it will always load on every drawing.

At the moment I have moved the original files acad2012.lsp and acad2012doc.lsp to a location that AutoCAD doesn´t find.

Then I put the four following files in the support folder (C:\Program Files\Autodesk\AutoCAD 2012 - English\Support):

 

acad2012.lsp

acad.lsp

acad2012doc.lsp

acaddoc.lsp

 

The files doesn´t contain anything other than a single princ command which say:

 

acad2012.lsp loaded!

acad.lsp loaded!

acad2012doc.lsp loaded!

acaddoc.lsp loaded!

 

When AutoCAD is started all files are executed in the following order:

acad2012.lsp

acad.lsp

acad2012doc.lsp

acaddoc.lsp

 

This far everything is okay... but when I open a new drawing the following is in the text window:

 

acad2012.lsp loaded!

acad2012doc.lsp loaded!

acaddoc.lsp loaded!

 

I expected that only acad2012doc and acaddoc should be executed since the ACADLSPASDOC variable is set to 0.

 

Shouldn´t acad2012.lsp and acad.lsp go hand in hand, either be none or it will load both?

 

Is there some other setting I don´t know about?

 

Thanks in advance!

Link to comment
Share on other sites

The auto-loaders acad20xx.lsp and acad20xxdoc.lsp were reserved by system, so is better not to affect them. For this reason you cannot rely on how AutoCAD access/manage them.

Link to comment
Share on other sites

Okay you are right, so I put the original files back and just entered the princ at the bottom of them to verify if and when they are loaded.

The same result however.

The auto-loaders acad20xx.lsp and acad20xxdoc.lsp were reserved by system, so is better not to affect them. For this reason you cannot rely on how AutoCAD access/manage them.
Link to comment
Share on other sites

Not sure what difference make how AutoCAD is accessing its internal files.

For your custom tools use acaddoc.lsp and/or acad.lsp (control behavior of latest by ACADLSPASDOC system variable).

Link to comment
Share on other sites

  • 1 month later...

I made a new installation of AutoCAD 2012 and acad2012.lsp is still loaded into every drawing.

Either AutoCAD needs it loaded twice for some reason or some programmer made a misstake.

Anyhow it´s nothing to do about it.

End of story! :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...