Author Topic: AutoCAD Map Standard Support Path Length  (Read 7545 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
AutoCAD Map Standard Support Path Length
« on: January 04, 2006, 01:50:31 PM »
I am having some issues with pathing and I have found out from this that the problem is an inherent one.

Would you kind souls please run this on your installations of Map and let me know the result ...

Code: [Select]
(strlen(getenv "ACAD"))
Thanks
« Last Edit: January 04, 2006, 02:17:24 PM by Keith »
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Dinosaur

  • Guest
Re: AutoCAD Map Standard Support Path Length
« Reply #1 on: January 04, 2006, 02:04:02 PM »
Civil 3d 2006 w/ map returns

; error: bad argument type: stringp nil

LE

  • Guest
Re: AutoCAD Map Standard Support Path Length
« Reply #2 on: January 04, 2006, 02:08:27 PM »
I am having some issues with pathing and I have found out from this that the problem is an inherent one.

Would you kind souls please run this on your installations of Map and let me know the result ...

Code: [Select]
(strlen(getenv "acad"))
Thanks

Try with:

(getenv "ACAD")

or

(getvar "acadprefix")

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: AutoCAD Map Standard Support Path Length
« Reply #3 on: January 04, 2006, 02:09:42 PM »
First, I dont have map installed on this machine, but in acad2006, I did

(setq l (getenv "acad"))
and then
(strlen l)

368
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

LE

  • Guest
Re: AutoCAD Map Standard Support Path Length
« Reply #4 on: January 04, 2006, 02:14:44 PM »
First, I dont have map installed on this machine, but in acad2006, I did

(setq l (getenv "acad"))

Is now in A2006, the ability to get into the acad environment by using a lowercase ?

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: AutoCAD Map Standard Support Path Length
« Reply #5 on: January 04, 2006, 02:15:53 PM »
I dont know, let me try.  I am using Keiths program that turns caps on and off depending on if Im in acad or not
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: AutoCAD Map Standard Support Path Length
« Reply #6 on: January 04, 2006, 02:16:40 PM »
Nope it does not work, caps are required
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Dinosaur

  • Guest
Re: AutoCAD Map Standard Support Path Length
« Reply #7 on: January 04, 2006, 02:16:58 PM »
That returned "777"

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: AutoCAD Map Standard Support Path Length
« Reply #8 on: January 04, 2006, 02:18:39 PM »
So your path is <800, or the limit.

BTW, what about using Project paths to supplement your support path?
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: AutoCAD Map Standard Support Path Length
« Reply #9 on: January 04, 2006, 02:19:43 PM »
Sorry folks, I didn't know that it was required to be caps ...

Dinosaur .. do you have any add-on applications besides Map and do you have any additional paths set in the support path that are not part of the main installation.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Dinosaur

  • Guest
Re: AutoCAD Map Standard Support Path Length
« Reply #10 on: January 04, 2006, 02:27:58 PM »
Yes, several.  A quick tally of the characters in the extra paths comes to 214 not counting express tools.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: AutoCAD Map Standard Support Path Length
« Reply #11 on: January 04, 2006, 02:32:29 PM »
Ok thanks ... I am having a difficult time solving a support problem .. it seems that Map has an inordinate support path length and when you add just a couple of more paths, the paths crash miserably ... surely since Autodesk has known about this issue since R14 they could come up with some sort of solution .. such as selecting a single folder and having a checkbox to search all subfolders .. thus the path would be much shorter ... but .. noooooo they can't think outside of the box too well evidently
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

Dinosaur

  • Guest
Re: AutoCAD Map Standard Support Path Length
« Reply #12 on: January 04, 2006, 02:46:22 PM »
Here is a shot of the standard path for MAP 2005.  Civil 3D seems to add quite a few extras on its own.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: AutoCAD Map Standard Support Path Length
« Reply #13 on: January 04, 2006, 02:47:58 PM »
The problem is that the application, an executable installed in it's own folder under C:\Program Files\ must be able to be found from AutoCAD ...

My current solution is: Start the application from the executable or from a shortcut. (the AutoCAD menu uses the "startapp" function to start the program) ... thus if AutoCAD cannot find the program, it cannot start it ... hard codingthe path is not an option either since the user might change the installation folder during an install.

Dino .. thanks for the screen shot ..
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

ronjonp

  • Needs a day job
  • Posts: 7533
Re: AutoCAD Map Standard Support Path Length
« Reply #14 on: January 04, 2006, 02:49:45 PM »
I just tried (strlen (getenv "ACAD")) in MAP 2006 and it worked fine....I even added 5 folders on my desktop to have a total of 1100 characters.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC