Jump to content

When open a file a lisp created in the same folder


asos2000

Recommended Posts

I recived files when open any one of those files i found a lisp file called acad created in the same folder and some commands not working.

 

What is this? and How can I stop this?

 

Regards

Link to comment
Share on other sites

  • Replies 21
  • Created
  • Last Reply

Top Posters In This Topic

  • asos2000

    6

  • Lee Mac

    6

  • alanjt

    4

  • ReMark

    2

I would suggest you post the contents of the lisp file, that way one of our lisp specialists can take a look and may be able to determine what it is, and suggest possible reasons for why this happens.

Link to comment
Share on other sites

Haha - it actually looks like a prank to me :)

 

They have undefined the attedit command and redefined it so that it will never be able to edit the attributes.

 

And the xref and xbind just activate the insert command... and Burst is messed up as well.

 

Someone doesn't like you :wink:

Link to comment
Share on other sites

hahah

yes that what habbens

I cant open xref or edit

 

but how can i stop that make xref active

 

Any way im going to kill this man

Link to comment
Share on other sites

  • 2 weeks later...
Haha - it actually looks like a prank to me :)

 

They have undefined the attedit command and redefined it so that it will never be able to edit the attributes.

 

And the xref and xbind just activate the insert command... and Burst is messed up as well.

 

Someone doesn't like you :wink:

 

Could it be that this is just a way of protecting drawing files from being edited? He did say he received these files from someone else.

 

Asos, you need to contact the person who sent you these files and ask him what this is all about. Ask him why this lisp is redefining commands and tell him that you are unable to work with his files because of it. This should always be your first course of action when receiving files from an outside source. If you're having problems with someone's files, pick up the phone and call them and work it out. It's always going to be faster and easier to do this with the person who created the files, rather than coming to the forum and going back and forth with us, trying to speculate on why this or that is happening.

Link to comment
Share on other sites

i am not loding the lisp but its created automatically when open any *.dwg file

 

That is because upon the first loading, it redefined the S::STARTUP function (which runs everytime you start up AutoCAD), hence it will automatically run.

 

You will need to redefine your S::STARTUP function in AutoCAD to prevent it running each time.

Link to comment
Share on other sites

i am not loding the lisp but its created automatically when open any *.dwg file

 

autocad will automatically load the first acad.lsp file it finds. you have to get it out of any support path, or location of file you are opening.

Link to comment
Share on other sites

I would advise this:

 

  • Delete all instances of the LISP and all instances of the ACAD.lsp that it has created.
  • Redefine the S::Startup function.

i.e.

 (defun s::startup ( ) (princ))

 

Lee

Link to comment
Share on other sites

I would advise this:

  • Delete all instances of the LISP and all instances of the ACAD.lsp that it has created.
  • Redefine the S::Startup function.

i.e.

 (defun s::startup ( ) (princ))

Lee

the S::STARTUP has to be defined each time, at startup. you don't need to reset it, just get rid of the crap routine and all the created acad.lsp files

by default, it's nil. load something with the s::startup, then restart autocad and check it. !s::startup will return nil

Link to comment
Share on other sites

  • 1 year later...
how the s::startup work can u help me step by step please

From your AutoCAD Help file:

 

"You can define an S::STARTUP function to perform any needed setup operations after the drawing is initialized."

 

Refer to Help for further information.

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...