Jump to content

Recommended Posts

Posted

Hi all

 

I got a new system on which windows 7 premium 32 bit is installed. I installed AutoCAD 2010 on it. When I run my lisp code its gives following error

 

"no function definition: vlax-ename->vla-object". Same code runs successfully on a system having windows xp with AutoCAD 2007.

 

Please tell how to solve this problem.

Posted

Thanks for reply.

 

I have written (vl-load-com) to acad2010doc.lsp file but still getting same error message. If I call (vl-load-com) from command line I get error "COM exception, library not registered". Is it someting because of windows 7.

 

Any hints?

Posted
I have written (vl-load-com) to acad2010doc.lsp file but still getting same error message.

 

Don't alter the ACAD####DOC.lsp, I didn't tell you to alter that file. Add the code to the ACADDOC.lsp - if you don't have an ACADDOC.lsp in your support path, create one (maybe using notepad) and add it to your support path.

 

If I call (vl-load-com) from command line I get error "COM exception, library not registered". Is it someting because of windows 7.

 

This would indicate that the Visual LISP module hasn't been properly installed - I would think you could register it manually (maybe using RegSvr32.exe), but at that point I'm a little out of my depth.

Posted

You could also run a repair on your installation.

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