Jump to content

Recommended Posts

Posted

Sorry Thread should be named Problem with Lisp

 

My AutoCAD crashed and I had to uninstall and reinstall. Now my lisp routines will no longer work. I have been using the BreakObjects.lsp by Charles Alan Butler for a while and now when I try to use it i get the following error

 

"; error: no function definition: VLAX-ENAME->VLA-OBJECT"

 

It happens to many lisp routines, I just thought everyone may know this one. Can anyone help me with whats going on. All my lisps are useless right now.

Posted

Add

 

(vl-load-com)

To your ACADDOC.lsp, or to the top of those LISPs which are returning the error.

 

I have seen cases where the above doesn't cut it, especially for 2011 it seems - also try typing the above manually at the command-line (this solved it for me when I first installed it).

Posted
Thanks, but it did not work.

 

Try to post one your routines which is not working so far .

Posted

Your install may have become corrupt.

What happens when you type (vl-load-com)?

Posted

I do not have any of my personal routines that do not work because I have not gotten that deep into the programming to use VLA. I do not like posting someone else's work, but here is one that most people know about and its not working for me, http://www.cadstudio.cz/download.asp go 3/4 way down the page and the BreakAll is one of the commands. you can download it and take a look at it. The file is also available at the theswamp.com for download.

Posted

alanjt, I went to the AutoCAD window and entered (vl-load-com) at the command line, nothing happened it seemed. I went back to my lisp editor and it was locked like running a command. I had to go back to the command line and enter vlisp to free it up. I think you might be right abut a corruption. Any ideas about how to fix it?

Posted

Run a repair on the installation.

 

Before you do that, what happens when you execute this and select any object in autocad?

(progn (vl-load-com) (vlax-ename->vla-object (car (entsel))))

Posted

I ran it and below is the outcome.

Command: (progn (vl-load-com) (vlax-ename->vla-object (car (entsel))))

Select object: ; error: no function definition: VLAX-ENAME->VLA-OBJECT

Posted

Corrupt installation.

 

Start>Settings>Control Panel>Add/Remove Programs>AutoCAD Mechanical 2010>Repair

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