Author Topic: Version dependent  (Read 2297 times)

0 Members and 1 Guest are viewing this topic.

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Version dependent
« on: September 26, 2005, 07:36:20 AM »
Apologies in advance if this is in the wrong forum.

We are soon to be upgrading from 2000, 2002 and 2004 to a common platform on 2005. There are several lisps we use on a regular basis and are in the company menu. My question is...
Are lisp files AutoCAD version dependant, and how can I tell. :oops:

Many thanks
Tracey
Thanks for explaining the word "many" to me, it means a lot.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Version dependent
« Reply #1 on: September 26, 2005, 07:41:22 AM »
Short answer Tracey, The only difficulty I could forsee is any change to the  'command' parameters between versions.

Have a look at this page
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=4091668&linkID=2475161

There is a Migration routine you can run which will test the compliance of lisp and menu stuff for upgrades.

Regards
Kerry
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Peter Jamtgaard

  • Guest
Re: Version dependent
« Reply #2 on: September 26, 2005, 07:46:12 AM »
You should be o.k. unless you have routines that interface with things like layer states, filters,...
It would be different if you had some r14 upgrades.

That is one of the best things about Visual LISP, it really hasn't change very much between updates.

Peter Jamtgaard P.E.

Apologies in advance if this is in the wrong forum.

We are soon to be upgrading from 2000, 2002 and 2004 to a common platform on 2005. There are several lisps we use on a regular basis and are in the company menu. My question is...
Are lisp files AutoCAD version dependant, and how can I tell. :oops:

Many thanks
Tracey

Amsterdammed

  • Guest
Re: Version dependent
« Reply #3 on: September 26, 2005, 08:56:54 AM »
Right Peter,

but some people say that is also the bad thing off it. No improvement. Autodesk bought it from the Russians and never did any thing with it. I don't mind as long as it works.

Bernd

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Version dependent
« Reply #4 on: September 26, 2005, 11:17:59 AM »
As Kerry said the '(command "some command" "some vars")' may give you problems
because the order of the prompts do change and additional options are added
to the command line commands. The fix is usually easy. Just add a subroutine
something like this to your code
and adjust the command sequence to match the version.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

gerstal82

  • Guest
Re: Version dependent
« Reply #5 on: September 26, 2005, 12:51:52 PM »
maybe you need a new version of doslib, it depends on if there are lisps who use it

http://www.mcneel.com/doslib.htm