I know there are many posts on AUGI and the Autodesk DGs regarding this subject and I think I read all of them. I have a question about my specific code. I am trying to create a CUI command to set the tool palette path to more than one folder and I can't seem to get it to work.
I want my path to be Z:\Autodesk 2008\JRToolPalette;U:\Autodesk 2008\ToolPalette. Here is the CUI command macro:
Code:
^C^C*_ToolPalettePath;(strcat "Z:/Autodesk 2008/JRToolPalette" ";" "U:/Autodesk 2008/ToolPalette");
When I execute the command it displays the following at the command prompt:
Command: *_ToolPalettePath
Enter new value for *_TOOLPALETTEPATH <"Z:\Autodesk
2008\JRToolPalette;U:\Autodesk 2008\ToolPalette">: (strcat "Z:/Autodesk
2008/JRToolPalette" "
("_> " "U:/Autodesk 2008/ToolPalette")
"Z:/Autodesk 2008/JRToolPalette\nU:/Autodesk 2008/ToolPalette"
Notice the \n between the two paths.
When I run the toolpalettepath command a second time it displays:
Command:
*_TOOLPALETTEPATH
Enter new value for *_TOOLPALETTEPATH <"C:\Documents and
Settings\paulsenj\Application Data\Autodesk...">:
As you can see it's setting the path to my local windows profile. (It does change this path. Even If I have it set the network before running the command.)
The strange thing is if I type
Code:
(strcat "Z:/Autodesk 2008/JRToolPalette" ";" "U:/Autodesk 2008/ToolPalette")
at the command prompt it returns the value (Z:\Autodesk 2008\JRToolPalette;U:\Autodesk 2008\ToolPalette) I want set.
Does anyone have any ideas how I can get this to work?