Jump to content

(vl-load-com) not loading in acad 2010


Small Fish

Recommended Posts

Hi I have just starting using acad 2010 (from acad 2007) for some reason I get the message

 

; error: no function definition: VLAX-GET-ACAD-OBJECT

 

when I try my code with vl functions.

 

In the vlide my vlisp functions are black text instead of the usual blue(meaning vlisp functions are not loaded)

 

In 2007 there is no problem- but for some reason I can not make it work in 2010. I have tried typing (vl-load-com) to load

Any ideas???

thanks

S.F.

Link to comment
Share on other sites

  • Replies 22
  • Created
  • Last Reply

Top Posters In This Topic

  • Small Fish

    7

  • Kerry Brown

    3

  • Lee Mac

    3

  • Shawndoe

    2

Hi,

 

Is this a new installation? If so did it go smoothly? It sounds like an install problem.

 

You could try to manually load vl.arx from the ACAD root install directory, then try (vl-load-com) again.

 

Have a good one.

Shawn

Link to comment
Share on other sites

Maybe you need to install VBA. I don't think it comes with the 2010 installation. See here...

http://usa.autodesk.com/adsk/servlet/autoindex?siteID=123112&id=12715663&linkID=9240618

 

The above is probably wrong... have a look here

http://www.theswamp.org/index.php?topic=29484.0

http://www.theswamp.org/index.php?topic=29707.0

Link to comment
Share on other sites

Hi,

 

Maybe you need to install VBA.

No need to install VBA.

The COM Interop is still available with A2010 and will continue to be after VBA will go away (many other languages than VB(A) as Visual LISP, dotNET can use COM).

Link to comment
Share on other sites

Yes I tried typing (vl-load-com) in the command line then restarting the vlide

....but that does not work. I looked at the posts that Gile had supplied but it does not give a definitive answer.

 

When I start up I also get the message:

 

; warning:AutoCAD type library load failed: "Library not registered"

; warning:AutoCAD type library load failed: "Library not registered"

; error: no function definition: VLAX-GET-ACAD-OBJECT

 

 

Shaun Huley from Autodesk says:

This is usually the result of a registry not knowing the path to the typelib

and is usually the result of something occurring to the files or registry

problems.

 

 

I have also tried to manullly load the vl.arx file but this had no effect.

 

I have also tried typing in ACADINFO

and at the resulting text file and I get an error with

 

------------------ EXPRESS TOOLS INFORMATION -------------------

ACAD2009DOC.LSP Express Tools load: "ACAD2009DOC.LSP NOT FOUND!"

 

God knows why its looking for the ACAD2009DOC.lsp when I have never used acad 2009 on this machine!!???

 

I am reluctant to do a reinstall as results from other posts say this did not always fix the problem.

 

I have just found out that every other user in our office has the same problem:(

 

I will keep researching and experimenting........

Link to comment
Share on other sites

  • 1 month later...

The problem has been fixed - so just for the record and if anyone else has the same problem:

 

Install "Trueview" and "Design review"

Link to comment
Share on other sites

The problem has been fixed - so just for the record and if anyone else has the same problem:

 

Install "Trueview" and "Design review"

 

If you are saying that you have to install Trueview and Design Review in order for AutoCAD to be able to access the VL functions, then this is false.

 

If that worked for you then it sounds like the AutoCAD install failed at some point and maybe the TrueView install completed whatever else was needed.

Link to comment
Share on other sites

If you are saying that you have to install Trueview and Design Review in order for AutoCAD to be able to access the VL functions, then this is false.

 

Yes its true - are you telling me I'm lying?:huh:

The problem is not just on one computer but many in this country and other branches overseas.

 

Autocad 2010 installed perfectly well. There was no error in the install. As I understand Trueview is optional in the install. Because we jumped from acad 2007 to acad 2010, there is some sort of conflict with dll files overwritten or not installing

 

The point I'm making is that it's important to tick the optional Trueview box during install of acad 2010 (if going from from acad 2007 to 2010).

It works for us - and anyone that has this problem I recommend trying it.

Link to comment
Share on other sites

What I'm saying is that visual lisp functionality does NOT depend on the presence of "DWG Trueview" on the system, at least in 32-bit, english versions of AutoCAD. I have several installs of 32-bit, english AutoCAD 2010 without DTV installed and the visual lisp functions run fine.

 

Also, I have never seen in the past and do not see now in my deployment, the option to install DTV with AutoCAD.

Link to comment
Share on other sites

Yes its true - are you telling me I'm lying?

You may not be lying, but you are incorrect in your conclusion.

 

AutoCAD does NOT require either Trueview and Design Review.

 

Did you try an installation repair ??

Link to comment
Share on other sites

You may not be lying, but you are incorrect in your conclusion.

 

what conculsion?

the only point I was trying to make was that installing TV and DR fixes the problem.

 

 

Did you try an installation repair ??

 

That is the most obvious solution that was tried almost immediately.

 

AutoCAD does NOT require either Trueview and Design Review.

 

True - but I know you can not explain why installing True view and design review fixes the problem. Unless you have something to do with designing Autocad software I doubt if anyone will find the reason.

 

Anyway who cares acad 2010 works now!!

Link to comment
Share on other sites

True - but I know you can not explain why installing True view and design review fixes the problem.

 

That is a bold statement indeed Small Fish.

Link to comment
Share on other sites

SmallFish, I have no intention of starting a heated discussion about this.

My intent was to advise anyone reading in the future that they do not need to install Trueview and Design Review.

 

Perhaps you should report this to AutoDesk. They may be able to cast some light on the situation.

Link to comment
Share on other sites

Kerry

fair enough

thank you for your input - and I hope no offensive was caused

SF

icon12.gif

 

All is cool .. no problems.

 

If I was offended, you'd know. :wink:

Link to comment
Share on other sites

  • 1 year later...

Hi guys,..

 

I've just read this thread...by searching some explaination about vl-load-com.

 

I know this is not make sence,....but it is true,

By installing TrueView, this will solve most of CAD problem.

eaven repair option do not do the trick.

 

So i'm a little confused about the files shared between AutoCAd and TrueView.

Also, i've noted that if you do not install TrueView, you can not open DWG in DesignReview

so now this is another undocumented Thing..

 

With all respect, I'Ve never received any support from AutoDESK eaven with over 300 AutoDESK network licence owner,

I found more support and skilled user in some CAD forum like this one.

 

cheers !

 

 

 

Andrea.

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