Since the AEC Content folder are available within the options menu, a single user could easily navigate to the correct tab on the options menu and make the following change:

But making that same change could become a nightmare if you have to support more than a handful of users. Enter Visual Lisp:
Using some of the built in VisualLisp functions it is easy to create a generic routine that can repath the standard AEC Content locations which the standard tool palettes will then automatically take advantage of. This routine also works for Building Systems 2005. (I'll update it for 2006 when I get the opportunity!)
We can take advantage of the product key (vlax-product-key) to detect the Product Name and Type.

Using that allows us to construct a path to the registry key containing the location of the AEC Content (ToolContentRoot).

Now it becomes easy to effectively change the location to a new path on the fly by writing our new value back to that registry key.

Need proof? Here is where the tool palette content comes from after running this routine.

Take a look at Listing 1 for this code and the code used to change the default Design Center content path as well. Here is the entire routine.

Click this to download the lisp file.
Not a member of AUGI yet? Join now.