Originally Posted by
jkipfer
Using the following code provided by Mike, ^C^C*_ToolPalettePath;(getvar "RoamableRootPrefix");
for me returns the following path:
C:\Documents and Settings\jason\Application Data\Autodesk\AutoCAD 2007\R17.0\enu
But the entire path to the toolpalette is: C:\Documents and Settings\jason\Application Data\Autodesk\AutoCAD 2007\R17.0\enu\Support\ToolPalette
So how did you get the \Support\ToolPalette appended? Did you write a lisp to string concatinate the two or is there an easier way?
Hi
You could use the AutoLISP strcat function eg
Code:
^C^C*_ToolPalettePath;(strcat (getvar "RoamableRootPrefix") "Support\\ToolPalette");
Have a good one, Mike