Professional Documents
Culture Documents
Disclaimer
Within this document there are references to changes to the registry settings. Changing
the registry can generate instabilities and if you are unsure about making the changes
seek the services of a qualified administrator. You are advised to retain a backup of a
good registry in case of errors, as this may allow recovery of your system.
Notes
Where a registry key referred to is recorded as:
HKEY_LOCAL_MACHINE\Software\SolidWorks\SolidWorks nnnn
The nnnn refers to the version of SolidWorks that will be affected by the key. This might
be 2003, 2004 etc.
Background
The person responsible for planning is best served considering a SolidWorks installation
as a distributed database system where the database program is distributed and duplicated
to multiple workstation computers. The database files consist of a combination of
conventional database files and discrete model files which need to be managed to support
the organization objectives.
Overview
A SolidWorks installation will include both program files and data files consisting of
both model files and database files. In operation, SolidWorks reproduces the industrial
environment by considering parts that are joined together in assemblies. One assembly of
parts may be used as a sub-assembly of a larger group of parts. Drawings might be
created of the parts or assemblies. By the use of a referenced file, a change to a part will
automatically be reflected in drawings referencing the part or any assemblies referencing
the part.
Temp Variable
In operation, SolidWorks needs to create temporary files used as part of the process. The
files are created in the directory controlled by the TEMP variable. The setting of this
variable can be inspected from a command prompt by running: “SET TEMP”. Please see
the image below.
The temporary folder variables are also specified in the System Environment Variables
which can be found in the Start > Control Panel > System > Advanced tab > Environment
Variables button > under User variables for username the TEMP and TMP variables are
the temp directories.
Normally an Administrator will set the system wide settings. The directory should be on
a local drive to avoid performance degradation.
Note from SolidWorks 2005 onward, the journal file is located by default in:
This is the recommended location for such information by Microsoft. The tool
SolidWorks RX also introduced with SolidWorks 2005 expects to find the file in this
location.
HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks nnnn\sw
eventlog\emailenabled
Enabling this option will cause SolidWorks to generate the following file:
{Computer name} performance.log in the start in directory. Users can control the start in
directory through the Shortcut used to launch SolidWorks.
In SolidWorks 2005 the performance email system was changed to support SolidWorks
RX. The file is now always generated in the folder:
{Documents and settings}\%user name%\Application data\SolidWorks
The file is deleted at key size and time intervals if Performance email is not enabled.
In SolidWorks 2006 where the Performance email is triggered, the following dialog is
now presented to the user:
Users are encouraged to enable performance email. Please review the technical bulletin
from 21 September 2004: Performance E-mail and SolidWorks 2004 SP4.2
License Agreement
Each user is required to accept the license agreement when SolidWorks is first started.
The license will be presented in the appropriate language for the user based on the
machine regional settings and the installed language versions of SolidWorks. Acceptance
of the license agreement is stored in the user profile.
After accepting the license agreement the user is presented with the default customization
dialog. The purpose of this dialog is to set some default options within SolidWorks such
as menus and toolbars. The options selected will be stored in the user profile.
Document templates
1) Once SolidWorks is running the user will try to create a new document. For a
new user the first time a new document is selected the following error will appear:
The trigger for this problem occurring is the creation of the default template files. As
there are a number of options selected at installation time which affect the required
settings in the document templates, these options are created based on the current user
settings the first time SolidWorks is run. These files will be placed in the directory:
{SolidWorks Installation Directory}\data\templates.
The user will be prompted to select a directory where they have read/write access to
store the document templates:
It is possible to change the default setting for all new users of SolidWorks by
changing the registry key:
HKEY_LOCAL_MACHINE\Software\SolidWorks\SolidWorks nnnn\Ext
references\Document template folders.
If students are expected to follow the online tutorial the default reference to the
tutorial templates needs to be retained when editing the registry key.
Templates will be automatically created where they do not exist in the directory
specified as:
HKEY_LOCAL_MACHINE\SOFTWARE\SolidWorks\SolidWorks nnnn\Document
Templates\Document Template Folders
The entry here needs to match the entry in the External references above.
Hole Wizard
With the user locked down to Read-only in the SolidWorks installation directory,
when the user first tries to use the hole wizard the following errors occur:
Typically if the user does not choose a directory to which they have write access at
that stage the following messages will appear:
wizard functionality. The user can be redirected to a different location to the default
by setting the registry key:
Toolbox
The Toolbox database consists of both a database and a set of model files. Within a
commercial organization all users would be expected to store their information in a
central location. Each user would record through their use of Toolbox the use of a
new fastener when needed. The record consists of adding an entry in the database file
and creation of either a separate part or a configuration of a part within the library of
files. Once created the new parts / configurations would be available to all users
without needing SolidWorks Toolbox added in. This is particularly needed when
opening assemblies.
If a user tries to access the Toolbox add-in the following messages will be seen:
Changing the selection of this directory will not be recorded in the registry hence the
only way to overcome the problems is to set the following directory for users to have
write access:
The second element of the install is that the Toolbox add-in will try to create a
database:
Tb_default.mdb. This file is used to store the Toolbox favourite’s information. The
file is stored in directory:
{SolidWorks installation directory}\toolbox\data\
Users will need write access to this directory to use Toolbox. It is not possible at this
time to redirect the installation. If write access is not given to this directory the
following errors will appear:
To set these automatically for an individual user see the registry file. Use the
following registry file entries:
[HKEY_CURRENT_USER\Software\SolidWorks\Applications\SolidWorks Toolbox
Browser]
"BitmapDir"="C:\\SolidWorks\\Toolbox"
"CopyFileType"="1"
"CopyFileDirectory"="C:\\SolidWorks\\Toolbox"
"InsertDocumentReadOnly"="1"
"ExcludeCopiedReadOnly"="0"
"ReadOnlyFlagDocuments"="1"
In addition to the standard Toolbox parts, SolidWorks generates additional tables for
standard features such as: grooves, structural steels and bearings. To support the
creation of these files the following directory needs to be made read and write access:
{SolidWorks installation directory}\Toolbox\lang\{English}.
During the import of files SolidWorks needs to create new SolidWorks documents. If
the advice followed in the “document templates” section above, the following options
can be generated automatically.
Errors will occur if the specified part documents are not available.
PhotoWorks
When running the add-in PhotoWorks, the program expects to find a directory where
custom materials can be written. By default this can be set to a different directory in
the registry key:
HKEY_CURRENT_USER\Software\SolidWorks\Applications\PhotoWorks2\Photo
Works2.1.42.1\Options\default_custom_folder
Setting this key in a local machine does not inherit into current user and hence every
new user will be prompted to select a folder in the dialog.
If list access is not provided through the SolidWorks installation directory structure
then the following error occurs when accessing the lighting scheme for a scene:
After the error is dismissed the user is prompted to browse to an alternative directory:
Tutorial
The on-line tutorial included with SolidWorks is stored and accessed from the
installation directory. If reduced access to the directory structure is required, copy the
contents of the directory, {SolidWorks installation directory}\samples\tutorial to a
folder that can be browsed to. As the on-line tutorial includes links to files in the
installed directory, do not delete these files but use a duplicate set of files.
Software OpenGL
SolidWorks makes use of the OpenGL graphics accelerator system. In some cases
SolidWorks will be used on machines where the graphics card is unsuitable for use with
hardware acceleration. Under these circumstances the following message box may
appear when using SolidWorks:
In order to add new properties the user needs write access to the “properties.txt” file. No
warnings are raised if write access is not available.
COSMOSWorks Express
Meshing will fail if the user does not have write access to the directory where the files
have been opened from. For training it is recommended that the example files be copied
to the user working directory
MoldflowXpress
No errors reported running an analysis based on the files in the samples directory by a
user with User permissions only.
eDrawings
No changes needed
DWGEditor
No changes needed
During calculation phases with these programs temporary files are created in, by default,
the directory from where the files are opened. It is recommended that tutorial and other
SolidWorks files be placed in a directory where the user had sufficient permissions to
create new files. For school students this would commonly be the users Working files
directory.
If files are opened from a directory where the user does not have write permissions then
commonly the user will receive a waning on open that the file can only be opened read-
only. This would be insufficient to store edits. If the user cannot generate the required
temporary files a message “Unable to open temporary files” will be generated. If the files
already exist but cannot be opened with read and write access the warning “Access to
unnamed file was denied”
The original version of this document was prepared for SolidWorks version 11.0.
(SolidWorks 2003 or SolidWorks 2003-2004 Educational version). Changes in the
installation at different versions are discussed below.
Version 11
Windows XP SP2
Users accessing PhotoWorks may raise message about TCP-IP ports. PhotoWorks uses
an internal access to these ports only when in use. External access to these ports may be
blocked.
This is a version 11 issue only
Version 12
Performance log
At version 13 SP4.0 onwards the Performance log will be stored in the user profile by
default this is
Version 13
Journal file
Unless otherwise specified the Journal file will be created in the user profile directory:
{Documents and settings}\{User Name}\Application data\Solidworks – This is a default
hidden directory.
SolidWorks RX
SolidWorks RX uses the following directories
{Documents and settings}\{User Name}\Application data\Solidworks – This is a default
hidden directory.
{Documents and settings}\{User Name}\SW Log Files – This is a default hidden
directory.
PhotoWorks
PhotoWorks no longer communicates through the TCP-IP Port protocol
In order to save an event file a user needs the privilege to backup files and directories.
The policy can be found in the Group Policy object editor: <Computer
Configuration><Windows settings><Security Settings><Local Policies><User Rights
Assignment>{Back up files and directories}. Add the groups or users who have
permissions to undertake this role to the local machine or organizational unit policy.
Administrators are strongly advised to ensure that this relaxation in the security policy
will not compromise their domain security
Version 15
The document has been extended to include COSMOS Express, MoldflowXpress and
other SolidWorks Office Premium components.