I have a handful of palettes that are divided into groups. I need to share these with other people.
At first, I exported the main palette group, with its subgroups, into an xpg file. Of course, I didn't yet know that it didn't retain the palettes at that time.
Then I exported the palettes themselves (maybe 20 in all).
My understanding is that if I import the palettes manually, then import the palette group, the palette group will be populated automatically. That isn't happening.
What is happening: The palette groups are there, and the palettes are there (in the palette list, and they automatically added themselves into the (old) current palette group. If I set the current group as the imported palette group, it adds the imported palettes to that group, but not into the sub groups.
With all of that said, is there a way to import multiple palettes at one time, via lisp or something else that I don't know about. Is there a way to have those palettes appear in their appropriate places on the palette group?
From what I've read about the problem, the palette group is stored in a customization file, and that's why it isn't transferring the palettes into the group. I'm not sure if this is true, or if I misread something, hence my questions to the group.
Any help is much appreciated.
For full disclosure, I have this posted at CadTutor: http://www.cadtutor.net/forum/showthread.php?69218
I am battling a similar problem. This is what I have been doing. Right, wrong or indeferrent.
I start a vanilla version of Autocad. I locate my tool palette folder in my user directory. C:\Users\USER.NAME\AppData\Roaming\Autodesk\AutoCA
I wipe all these files out. I then use Design Center to create tool palettes of folders I have on the network. I then organize these palettes with group names. Example: Client-->P&ID, Elec, Inst, Piping, etc. I then use "Export All" to back up these group names and build profiles or add to profiles later. I exit Autocad to make sure all palettes and changes are written to hard drive. I then go to the tool palette user directory (C:\Users\USER.NAME\AppData\Roaming\Autodesk\AutoCA
I do not know if this is the best right or easiest way but it works for us.
I commented some more in here before I saw this thread:
It's all pretty simple really:
Right click the grey Tool Palettes - All Palettes bar and select Customize Palettes
In Palette Groups select the group you want to share, then right click and select Export. Do this for all the groups you want to share.
In the left side of the Customize dialog do the same thing for the Palettes that will be in the groups you just exported. Select them, right click, and Export.
Send these files to those you want to have them.
They need to do the same thing(s) in reverse:
Right click on the Tool Palettes - All Palettes grey bar and select Customize palettes.
I would advise importing the palettes first. Right click anywhere in the white area of the palettes side of the dialog and select Import. Import the palettes in turn.
Then right click anywhere in the Palette Groups and do the same Import procedure for the groups.
That should do it!
Yea that's all fine and dandy, but I am not going to sitting down on 42 workstations and manually importing palettes. The registery export & import has worked great. Only thing we've had to do different is the 32 bit workstations. All profiles and palettes created on a 64 bit workstation will not import via the registery onto a 32 bit workstation. There are slight differences in the user paths between the two. I conglomerated a couple lisps I found to import all these into 32 bit workstations. I used this guys stuff first:
;;; miscellaneous profile commands
;;; By Jimmy Bergmark
;;; Copyright (C) 1997-2008 JTB World, All Rights Reserved
;;; Website: www.jtbworld.com
;;; E-mail: email@example.com
;;; 2003-01-23 Added functions
;;; 2008-08-08 Added forceImport
; Delete all profiles except the current profile
(defun deleteAllProfilesExceptCurrent (/ item)
(foreach item (getAllProfileNames)
; (importProfile "profilename" "C:\\TEMP\\profilename.arg" 1)
; overwrites profilename if it exists
; if path is omitted profile is imported from active directory
; inclpathinfo=1 The path information in the registry file will be preserved.
; inclpathinfo=0 The path information in the registry file will not be preserved.
; return T if profile is imported
(defun importProfile (profilename argname inclpathinfo)
(not (vl-catch-all-apply 'vla-importprofile (list
(vla-get-profiles (vla-get-preferences (vlax-get-acad-object)))
Then I did this:
(defun c:massimportprof ()
(princ "\nImporting Profiles... ")
(importprofile "CADWorx_CalcRef" "l:\\autocad\\2012\\profiles\\CADWorx_CalcRef.arg" 1)
(importprofile "CADWorx_Citgo" "l:\\autocad\\2012\\profiles\\CADWorx_Citgo.arg" 1)
(importprofile "CADWorx_Grace" "l:\\autocad\\2012\\profiles\\CADWorx_Grace.arg" 1)
Access a broad range of knowledge to help get the most out of your products and services.