a quick way to share your templates


One of the biggest responsibilities of being a SolidWorks administrator is to make sure that all of your users are using the same templates, right?  Well how do you handle that?  The generic answer would be to put all of your templates in a network folder and remap all of the SolidWorks file locations to that network location.  This is great but you will notice some lag when referencing files over a network like this.  So the best bet is to put the templates on the hard drive of each users computer but then how do you keep them updated.

Well I think I may have solved this problem at our company by creating a simple batch file that will run every time that the user logs in to his/her computer.  This idea was given to me from a local user that manages over 35 licenses of SolidWorks and probably closer to a 100 users (by using network licenses).

To create your batch file simply open a program like Notepad and right a command similar to the image below.  When using the xcopy command you will need to follow a format like this.

xcopy “source location” “destination location”

The symbols following that are command switches telling windows how to handle this situation.  To find out what these commands mean follow this link.  The last part of this command line writes a log file so that you can diagnose problems should they occur.

batch code

After you have written your command you will need to save the file somewhere that you can easily access.  My suggestion would be to great a “Batch Files” folder on your C: that you can save this file and any future batch files in.  To save a batch file, give it a file name and add a .BAT extension to the end of it.  Once you have saved your newly created batch file, RMB click on it and select Send to > Desktop (create shortcut).  You can see this in the image below.

send shortcut to desktop

After you have a shortcut to the file on your desktop, open up your Windows Startup folder.  You can do this by RMB clicking the “Startup” and select Open Folder.  Now drag the shortcut from your desktop into the Startup folder.

startup folder

Once it is in there, RMB click the shortcut and select Properties.  In the Run dropdown, select Minimized.  This will make it less obvious during startup that this is running.

run minimized

By doing this, you can now be no further than a day behind to in working off of the same files.  I don’t know about you but I would rather have the lag at startup as opposed to when I am working on a design.  As a SolidWorks administrator this can save you many headaches.

Please feel free to drop me a comment and let me know how you handle your SolidWorks templates.

 

5 comments on “a quick way to share your templates

  1. Jason, you could possibly use Dropbox or Microsoft’s SyncToy to keep the templates updated in realtime rather than having to run a batch file.

    • very true rod! i use dropbox for my personal stuff but i never thought about using it in this situation. do you have any experience using either of these things with templates. i am kind of curious about that now.

  2. Jason,
    Another good method (for EPDM users) is to have a templates folder in the vault and users will automatically ‘get’ the latest version of that file (in this case a template) each time they use it. Single template file for admins to manage. Actually picked this tip up from Sylvain at SW 2010!

  3. I’m with Jesse, Enterprise PDM makes this easy! At my previous job, we had two locations with a server at each, and two sets of data to manage (everything from templates, blocks, libraries, Toolbox, etc.).

    After we implemented EPDM, I put just about everything into the vault. That way, everyone was running local, and if you had a laptop and went off network, you still had access to everything.

  4. Jason, we have Smarteam so Jason’s and Brian’s method running with a PDM is the way to go. I did right batch files when I ran Pro/Intralink here to make sure we all used the same Pro/Crap ;-)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s