Small Fish Posted January 21, 2010 Posted January 21, 2010 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. Quote
Shawndoe Posted January 21, 2010 Posted January 21, 2010 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 Quote
lpseifert Posted January 21, 2010 Posted January 21, 2010 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 Quote
gile Posted January 21, 2010 Posted January 21, 2010 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). Quote
Lee Mac Posted January 21, 2010 Posted January 21, 2010 Type (vl-load-com) at the command line, and then restart/refresh VLIDE. I found I had to do this with 2010, in future, just put (vl-load-com) in your ACADDOC.lsp Quote
Small Fish Posted January 21, 2010 Author Posted January 21, 2010 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........ Quote
Shawndoe Posted January 22, 2010 Posted January 22, 2010 Check this thread out. It saying try a repair in control panel. http://discussion.autodesk.com/forums/thread.jspa?messageID=6224939 Have a good one. Shawn Quote
Small Fish Posted February 28, 2010 Author Posted February 28, 2010 The problem has been fixed - so just for the record and if anyone else has the same problem: Install "Trueview" and "Design review" Quote
rkmcswain Posted March 1, 2010 Posted March 1, 2010 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. Quote
Small Fish Posted March 1, 2010 Author Posted March 1, 2010 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? 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. Quote
rkmcswain Posted March 1, 2010 Posted March 1, 2010 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. Quote
Kerry Brown Posted March 1, 2010 Posted March 1, 2010 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 ?? Quote
Small Fish Posted March 1, 2010 Author Posted March 1, 2010 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!! Quote
Lee Mac Posted March 2, 2010 Posted March 2, 2010 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. Quote
Small Fish Posted March 2, 2010 Author Posted March 2, 2010 Well I could be wrong. But I doubt it. Quote
Kerry Brown Posted March 2, 2010 Posted March 2, 2010 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. Quote
alanjt Posted March 2, 2010 Posted March 2, 2010 Anyway who cares acad 2010 works now!! LoL I think it's safe to assume you're not a Linux user. Quote
Small Fish Posted March 2, 2010 Author Posted March 2, 2010 Kerry fair enough thank you for your input - and I hope no offensive was caused SF Quote
Kerry Brown Posted March 2, 2010 Posted March 2, 2010 Kerryfair enough thank you for your input - and I hope no offensive was caused SF All is cool .. no problems. If I was offended, you'd know. :wink: Quote
anduc Posted June 29, 2011 Posted June 29, 2011 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. Quote
Recommended Posts
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.