jc2k2civic Posted February 22, 2012 Share Posted February 22, 2012 (edited) Does anybody know why certain lisp routines work in older acad versions (2008) and why they don't work in ACAD 2010?? I keep getting an error code: no function definition: VLAX-GET-ACAD-OBJECT Can anyone help me?? Edited February 22, 2012 by jc2k2civic Quote Link to comment Share on other sites More sharing options...
ReMark Posted February 22, 2012 Share Posted February 22, 2012 AutoDesk is famous for changing things and unless you read about those changes (see the blog: JTB World) you might never know they retired some lisp commands or added new ones. That's my best guess. I offer for example the following: http://www.jtbworld.com/autocad2010.htm#Removed%20or%20Obsolete%20Commands Quote Link to comment Share on other sites More sharing options...
Lt Dan's legs Posted February 22, 2012 Share Posted February 22, 2012 (vl-load-com) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted February 22, 2012 Share Posted February 22, 2012 http://www.cadtutor.net/forum/showthread.php?1390-How-to-use-the-LISP-routines-in-this-archive&p=339645&viewfull=1#post339645 Quote Link to comment Share on other sites More sharing options...
jc2k2civic Posted February 22, 2012 Author Share Posted February 22, 2012 Thanks ReMark. Actually, i just added (vl-load-com) after the first line of code, and it works.....only in paper space and not in model space. However, i can draw in paper space and then change space. Is there any way around this where i can actually draw the rail in model space? Quote Link to comment Share on other sites More sharing options...
SLW210 Posted February 22, 2012 Share Posted February 22, 2012 jc2k2civic, Please read the CODE POSTING GUIDELINES and edit your post. Quote Link to comment Share on other sites More sharing options...
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.