

When I manually load it, it says it loaded successfully but the new path isn't added in the Options window, only the default/OOTB path shows.ĭoes the instructions to "add your new path to the string diving paths with a " " " mean that if I wanted to add additional paths, I'd define a new variable name (setq), and add to the list up top (i.e. I want it to run automatically at startup (I'd like to add it to my acad.lsp). (vla-put-toolPalettePath pFiles tpPath) set tool palette path (setq tpPath "%InstallFolder%\\UserDataCache\\Support\\ToolPalette I:\\_CAD STANDARDS\\100 - CAD SUPPORT FILES\\200 - SUPPLEMENTARY FILES\\TOOL PALETTES") set your path here (setq tpPath (vla-get-toolPalettePath pFiles)) get current tool palette path ) (setq pFiles (vla-get-files (vla-get-preferences (vlax-get-acad-object)))) get file preferences (setq tpPath "%InstallFolder%\\UserDataCache\\Support\\ToolPalette I:\\_CAD STANDARDS\\100 - CAD SUPPORT FILES\\200 - SUPPLEMENTARY FILES\\TOOL PALETTES") set your path here eg "C:\\Users\\." (setq tpPaths (vlax-get-property pFiles 'toolpalettepath)) Get the current path(s) Trying not to get frustrated (managed to get all other pathing lisps to work with the exception of this one - our IT company gave me 48 hours notice they were moving our server so I've spent the last few days cobbling together a bunch of lisps). Tried both of these but they don't seem to work either. I'm just trying to add our network Tool Palette to the bottom of the Tool Palettes Path setting in options (i.e. (setq tpPath "I:\\_CAD STANDARDS\\100 - CAD SUPPORT FILES\\200 - SUPPLEMENTARY FILES\\TOOL PALETTES") set your path here eg "C:\\Users\\." I'm sort of a newb at this and I'm having a bit of trouble getting it working. (vla-put-toolPalettePath pFiles (strcat tpPaths " " tpPath)) add your new path to the string dividing paths with a " "įirst, thanks to you guys for posting an incredibly helpful lisp.
ACAD TOOL PALETTE FILE TYPE FULL
(setq tpPath "-insert full new file path here-") set your path here eg "C:\\Users\\."


(defun C:TPPATH (/ pFiles tpPaths tpPath) You are replacing the existing with the new. (setq tpPath "-insert new file path here-") set your path here (setq pFiles (vla-get-files (vla-get-preferences (vlax-get-acad-object)))) get file preferences Is there an easy way to just add this path on top of the original default path? I am deploying some palettes to my team but want to ensure that if they already have their own elsewhere, it doesn't delete that path.Īny ideas? i just want it to be in addition to any existing paths, rather than overwriting what someone may have there. Edit the name of the palette, shown above as “New Palette” between the ItemName tags, and then rename the file.I currently have the below LISP routine which successfully adds the file path i want to add, the only problem is, it deletes the default C drive path that exists. Open the file in Notepad (do not use Word, or any other rich-format text editor, as it may mess up the xml, and corrupt the file).

To add a new palette, copy this file into the ToolPalettes folder, or a discipline subfolder. To create one, copy the following text into notepad, and save it as “New Tool Palette.atc”. I like to keep a blank tool catalog file in the root of the support folder. With no success.īefore creating a new tool palette, be sure to shut down AutoCAD – otherwise, AutoCAD will ignore the new tool catalog file or it may attempt to overwrite it with incorrect settings. I got the post below from John Dutz’s Blog at just another (I hope that’s enough credit to post this). I’ve tried copying the atcpcatalog.atc file into a new folder and added the file new search path in the options file folder and even brought that file path to the top of the search path with no success. But now we are looking to make separate tool palette sets. The problem is that we have amassed a very large cad library over the years. I’ve been creating custom tool palettes for many years now but I’ve always put everything: Such as Casework, Plumbing, Electrical and Structural blocks all in one tool palette.
