Techdb Settings Guide: Cover Page
Techdb Settings Guide: Cover Page
TechDB Settings
Guide
Disclaimer
Geometric Americas, Inc. makes no warranties, either express or implied with respect
to this manual. Geometric Americas, Inc. reserves the right to revise and improve
products as it sees fit, and to revise the specifications and information contained
herein without prior notice. Due to continuing product development, specifications
and capabilities described in this manual are subject to change without notice.
Trademarks
The following and other product names and corporate references herein are registered
or proprietary trademarks of their respective owners.
CAMWorks® is a registered trademark of Geometric Americas, Inc.
SOLIDWORKS® is a registered trademark of Dassault Systèmes SOLIDWORKS
Corp.
FeatureManager™ is a trademark owned jointly by DS SOLIDWORKS and Bentley
Systems, Inc.
All other brands and names are property of their respective owners.
TABLE OF CONTENTS
1. Technology Database Basics ............................................................... 5
What is Technology Database (TechDB)? .........................................................5
Why are TechDB Settings important? ................................................................5
Database formats in which TechDB is supported ..............................................6
Advantages of using SQLite based TechDB compared to TechDB supported in
other database formats ........................................................................................... 6
Default Folder Location of the TechDB Source Files .............................................. 7
TechDB App: User Interface File for accessing TechDB ...................................8
Supported Languages for TechDB UI (viz. TechDB App) ....................................... 8
Common TechDB Source file for all supported languages ..................................... 9
Launching the Technology Database .............................................................. 10
Default Language in which TechDB User Interface will be displayed ................... 10
Viewing the TechDB User interface in a specific Supported Language ................ 10
Subjective Pre-requisite for TechDB: MS Access ........................................... 12
Supported Versions of MS Access Full/Runtime .................................................. 12
64-bit Microsoft Access® Database Engine ........................................................... 12
Linking an MS Access based or SQL-Server based TechDB with CAMWorks12
Importing Customized TechDB Data on Upgrading CAMWorks ..................... 13
Migrating Customized Data from one Database format to another ................. 13
Customizing Information saved within the TechDB ......................................... 15
Flowchart illustrating TechDB Settings when for first-time CAMWorks
installation ....................................................................................................... 16
Flowchart illustrating TechDB Settings on upgrading existing CAMWorks
Installation ....................................................................................................... 17
2. TechDB Settings For a Single User License ..................................... 18
Default location of TechDB when single user license of CAMWorks is installed18
Functioning of TechDB for a single user license of CAMWorks...................... 18
Relocating the TechDB Repository to another location (Single User
Installation) ...................................................................................................... 18
Steps to relocate the TechDB Repository to another location .............................. 19
Importing customized TechDB data on upgrading CAMWorks (Single user) . 20
Steps to Import customized TechDB data on upgrading CAMWorks installation for
a single-user license: ............................................................................................ 20
Table of Contents i
Technology Database Setting Guide
Need for creating a common TechDB repository for Floating network license
of CAMWorks .................................................................................................. 25
Pre-requisite for creating a centralized TechDB repository for Floating network
license of CAMWorks ........................................................................................... 25
When should one ideally create a centralized TechDB repository on a network
drive? .................................................................................................................... 25
Creating a centralized TechDB Repository for a floating network installation
of CAMWorks .................................................................................................. 26
Importing customized TechDB data on upgrading CAMWorks (Floating
Network) .......................................................................................................... 27
Steps to Import customized TechDB data on upgrading CAMWorks installation on
a floating network.................................................................................................. 27
ii Table of Contents
Technology Database Setting Guide
• Link CAMWorks with the TechDB supported in a Database format other than the
default SQLite format (Applicable only if you wish to link CAMWorks to TechDB
supported in MS Access or SQL Server format)
3. SQL Server
Database Formats
Associated
Is Database Type
TechDB Data Default Location of the TechDB
Database dependent on any
Source Data source file (TechDB
Format Third-part
File/TechDB repository) at time of installation
application?
Repository
Yes.
A supported version of 32-
bit or 64-bit MS Access
Drive:\CAMWorksData\CAMWorks2021x64\ application or 64-bit MS
MS Access TechDB.mdb Access Database Engine
Lang\English
must be installed on the
machine of which the
TechDB.mdb file will
reside.
No. The SQLite based
Drive:\CAMWorksData\CAMWorks2021x64\ TechDB.cwdb is not
SQLite TechDB.cwdb
TechDB\TechDB.cwdb dependent on any third-
party application.
Yes. The Microsoft product
User needs to ‘SQL Server’ (SQL Server
configure the 2005 or any other higher
SQL Server Not applicable as it is user configured.
server and add version) must be installed
the database. in order to use the SQL
Server based TechDB.
Note: These language- specific versions of the Technology Database user interface
(viz. TechDB App) will be installed only if the options to install CAMWorks in
those specific language versions are exercised at the time of CAMWorks
installation.
5. Uncheck the checkbox labeled Automatic. (This is the setting that maps the
language of the TechDB user interface to the language of the CAMWorks
user interface.)
6. Unchecking the checkbox labeled Automatic activates the Language
dropdown list. All supported languages that have been installed will be
displayed in this list.
7. Select the language in which you wish to view the TechDB user interface.
8. The TechDB user interface will immediately reload and be displayed in the
selected language.
Note: If you wish to revert to linking the language of the TechDB user interface
to that of the CAMWorks user interface, then place a check in the
checkbox labeled Automatic option under the Language group box of
Settings menu.
• To change default settings and link the CAMWorks application with MS-
access based TechDB, refer Appendix C: Linking TechDB App to an MS Access
based TechDB.
• To change default settings and link the CAMWorks application with SQL
Server based TechDB, refer the section Steps to link TechDB App to the SQL
Server based TechDB in Chapter 4 of this document.
Note: The importing of customized data present in your MS Access based or SQL
Server based TechDB data source file into the SQLite based TechDB
repository (TechDB.cwdb) is supported.
For detailed steps on how to import customized data from one format to
another, refer the following topics in the Appendix section of this document:
• Appendix A: Migrating Data from MS Access based TechDB to SQLite based TechDB
• Appendix B: Migrating Data from SQL Server based TechDB to SQLite based TechDB
Please refer the flowcharts given on the next two pages to gain an understanding of
the various Technology Database (TechDB) settings.
Do you
have an SQLite
Do you based or MS-Access
have an SQLite SQL Server based or
SQLite SQL Server-based
based or MS-Access based license Based TechDB?
based or
SQL Server-based TechDB
TechDB?
MS-
SQLite Access SQL
Link CAMWorks to
Based MS-Access based Server
the MS Access
TechDB Based TechDB based TechDB based
TechDB
Create a centralized Create an SQL Server Create SQL-based
TechDB repository on based TechDB using TechDB using TechDB
the Floating Network TechDB files provided Import customized data files provided
from previous TechDB
version into new
TechDB
Link CAMWorks Link CAMWorks Link CAMWorks to the
installation on each installation on each SQL Server based
machine on the floating machine on the floating TechDB
network to the network to the SQL Do
centralized TechDB Server based TechDB you wish to
relocate the
TechDB Import customized data
location? from existing SQL-
Import customized data Import customized data based TechDB into
from existing SQL No newly created SQL-
from existing TechDB
repository into new Server-based TechDB based TechDB
Yes
TechDB into newly created SQL-
based TechDB Relocate updated TechDB
to another location and
link to CAMWorks
The steps to relocate the TechDB repository depend on whether you have a
standalone (single-user) license or floating network license of CAMWorks
application.
• If you have a floating network (multi-user) license, then refer: Creating a
centralized TechDB repository on a floating network installation of CAMWorks.
• If you use an SQL Server based TechDB, then refer: Creating and Linking an
SQL-based TechDB.
• If you have a standalone (single-user/node-locked) license of CAMWorks
and use an SQLite based TechDB or MS Access based TechDB, then the steps
for this process are given below.
Manager, click on the CAMWorks Options button . The Options dialog box
will be displayed.
11. The File Locations tab of this dialog box indicates the new location of the
TechDB. Verify that this path is correct and close the dialog box.
If the folder path displayed to the shared folder is correct, then it indicates
successful relocation of the centralized Technology Database source file to a
shared folder on the network.
button .
7. The main window of the Technology Database will be displayed. Close
the CAMWorks Solids/SOLIDWORKS application.
Path to TechDB file displayed adjacent to ‘Browse’ button under ‘Link Database’ tab of
Settings user interface
and click on the Open button in the File Open dialog box. The File Open
dialog box will close and the user interface will revert to the Import Database
tab.
14. In the Import Database tab, the folder path to the backed up TechDB
repository file containing customized data will be displayed adjacent to the
Browse button.
Path to TechDB Backup file displayed adjacent to ‘Browse’ button under ‘Import
Database’ tab of Settings user interface
15. Select the data to be imported. By default, the checkboxes for all the data
import options will be checked. In case, your customized data pertains to
only to specific data sets, you can uncheck the other data import options.
16. The Create Backup Copy checkbox option in the Import Database tab will be
checked by default. It is recommended that you retain the tick in this
checkbox option before importing. This ensures that a backup copy of the
Note: If you add additional customized data to your Technology Database after
the backup copy has been created, you will need to create and use a
separate backup copy of your TechDB for importing customized data
when you upgrade your CAMWorks installation the next time to a newer
version.
17. Click on the Import button. The importing process will begin.
Note: The process of importing data takes a few minutes to complete. Do not
close the Technology Database main window while the importing
process is in progress.
installation and license activation, every user will have access to the TechDB
repository installed on their individual machines. Any customization saved into
one instance the TechDB residing on a specific Windows machine will therefore
not be saved in the copies of the TechDB residing on other machines.
button .
iii. The User Interface for accessing the Technology Database will be
displayed in a separate window. Close the CAMWorks
Solids/SOLIDWORKS application.
iv. In the Technology Database window, click on the Settings menu option
floating network license, then the folder path will be to the shared folder on the
network where the centralized TechDB source file is located.
3. Create a backup copy of the TechDB repository file in the same or another
folder.
4. Upgrade all the Windows machines on which the CAMWorks application is
installed.
5. Relocate the newly installed TechDB to a shared location on a network drive
in order to create a common and shared TechDB repository accessible to
multiple users of CAMWorks on the network. [For steps to complete this
procedure, refer: Creating a centralized TechDB Repository for a floating network
installation of CAMWorks.]
6. Launch CAMWorks on any one of the Windows machines on the floating
network installation.
7. On the CAMWorks Command Manager, click on the Technology Database
button .
8. The main window of the Technology Database will be displayed. Close
the CAMWorks Solids/SOLIDWORKS application.
9. In the Technology Database window, click on the Settings menu option
17. The Create Backup Copy checkbox option in the Import Database tab will be
checked by default. It is recommended that you retain the tick in this
checkbox option before importing. This ensures that a backup copy of the
newly installed TechDB containing the imported customized data is created
in the same folder. (The name of the backed-up copy will be "Backup of
TechDB".) This backed up copy can be used the next time you need to
import customized TechDB data after upgrading your CAMWorks
installation.
For details on the nomenclature of backed up TechDB source files, refer
Appendix D: Nomenclature of Backed up TechDB Source Files.
Note: If you add additional customized data to your Technology Database after
the backup copy has been created, you will need to create and use a
separate backup copy of your TechDB for importing customized data
when you upgrade your CAMWorks installation the next time to a newer
version.
18. Click on the Import button. The importing process will begin.
Note: The process of importing data takes some time to complete. Do not close
the Technology Database main window while the importing process is in
progress.
Note: The TechDB.bak file is needed for the creation of an SQL Server based
TechDB. This file located in the \CAMWorksData\CAMWorks2021x64\
Lang\English folder is common for all the languages in which TechDB
App is supported. Once the SQL Server based TechDB is created using
this file, it will serve as a common SQL Server based TechDB repository
for all the languages in which CAMWorks is installed.
This means that if any customized data is saved to this TechDB when
running CAMWorks/ TechDB in a specific language, then that customized
data will also be available when CAMWorks/ TechDB is run in other
language versions.
4. The database you create may be assigned any name. However, for easy
identification, it is recommended that you follow a syntax that suffixes the
CAMWorks version to the database name.
For example, if you have installed CAMWorks 2021 SP0 version and have
used the TechDB.bak for English language, the name of the database can be
assigned as TechDB_2021SP0_English.
5. Provide the necessary access rights for the users.
6. If you have a floating network license, then the above steps need to be
repeated on every Windows machine on which CAMWorks is installed.
7. If you have upgraded your CAMWorks installation, then import customized
TechDB data from your previous CAMWorks version.
The SQL Server based TechDB is now ready to be used with the CAMWorks
application.
Note: You can link only one SQL Server based TechDB to the CAMWorks
application at a time. If you have created SQL Server based TechDB for more
than one language, you need to repeat the above steps for that specific
language based TechDB in order to link it to the CAMWorks application.
4. Using the Link Database tab in the Settings interface of the TechDB,
link the CAMWorks application to the SQL Server based Technology
Database created in Step number 2. [For details, refer: Steps to link TechDB
App to the SQL Server based Technology Database.]
5. Click on the Import Database tab within the Settings interface of TechDB.
6. Click on the SQL Server tab within this tab. Parameters associated with
connecting to an SQL Server based database will be displayed. Assign the
following:
i. In the Server Name field, type in the Server Name.
ii. Select the Authentication mode from the dropdown list. Select
Windows Authentication to authenticate based on the default user ID
you use to log in to Windows or SQL Authentication to authenticate a
specific SQL user.
iii. If you select SQL Authentication, then enter the User Name and
Password in the respective fields.
iv. In the Database name dropdown list, select the SQL Server based
TechDB containing the customized data and click on the Get Database
button.
7. Once the database is located, the next step is to select the data to be
imported. By default, the checkboxes for all the data import options will be
checked. In case, your customized data pertains to only to specific data
sets, you can uncheck the data import options that do not contain
customized data.
8. The Create Backup Copy checkbox option in the Import Database tab will be
checked by default. It is recommended that you retain the tick in this
checkbox option before importing. This ensures that a backup copy of the
TechDB repository containing the imported customized data is created. (The
name of the backed-up copy will be "Backup of TechDB".) This backed up
copy can be used the next time you need to import customized TechDB data
after upgrading your CAMWorks installation.
9. Click on the Import button. The importing process will begin.
Note: The process of importing data takes a few minutes to complete. Do not
close the Technology Database main window while the importing process
is in progress.
‘Import Feeds and Speeds’ Command in Feed & Speed Library User Interface
5. A warning message will inform you that all existing data within the Feed and
Speed Library (including customized data, if any) will be replaced on going
ahead with the import process. Click Yes within the warning message to
confirm.
6. As your previous Feed and Speed Library version was a 32-bit application with
a MS Access based database engine, the current 64-bit Feed and Speed Library
application (with a SQL database engine) will fail to find the database. A
warning message will be displayed stating that no data was found and that
you manually need to enter the path to the database of the previous
version. Click OK within this message box.
Message Box Prompting you to manually input the File Path to Database
7. The Windows File Explorer will be launched. Use it to navigate to the *.mdb file
(MS Access database) of the previous Feed and Speed Library application. The
default path to the 32-bit CAMWorks Feed and Speed Library application is:
C:\CAMWorksData\MATLIB\MATERIAL.MDB
Select the ‘Material.mdb’ file and click on the ‘Open’ Button Command
9. The File Explorer will close and the Feeds Speeds Import window will be
displayed. This window indicates the path to the database file from which
Feed & Speed data will be imported. Click on the Import button within this
window to commence importing.
11. The import process will commence. The user interface will revert to the Feed
and Speed Library application. Observe that in the ribbon bar, the
button command has been temporarily replaced with the
command (in disabled state). Depending on the volume of
the data present, this process will take several minutes.
12. Once the import is complete, a message indicating successful import of the
data will be displayed in the status bar of the user interface. The
button will be replaced with the button.
13. Your 64-bit SQL based database engine Feed and Speed Library now contains
all your customized data. The next time you use TechDB or retrieve
information from the TechDB while using the CAMWorks application, the
Feed/ Speed values applied will be based on the customized data you
imported in to the 64-bit SQL based database engine Feed and Speed Library
application.
40 Appendix A: Migrating Data from MS Access based TechDB to SQLite Based TechDB
Technology Database Setting Guide
(TechDB.mdb) containing customized data. Select this file and click on the
Open button in the File Open dialog box. The File Open dialog box will close
and the user interface will revert to the Import Database tab.
9. In the Import Database tab, the folder path to the selected TechDB.mdb file
that contains customized data will be displayed adjacent to the Browse
button.
10. Select the data to be imported. By default, the checkboxes for all the data
import options will be checked. In case, your customized data pertains to
only to specific data sets, you can uncheck the data import options that do
not contain customized data.
11. The Create Backup Copy checkbox option in the Import Database tab will be
checked by default. It is recommended that you retain the tick in this
checkbox option before importing. This ensures that a backup copy of the
TechDB.cwdb file containing the imported customized data is created in the
same folder. (The name of the backed-up copy will be "Backup of TechDB".)
This backed up copy can be used the next time you need to import
customized TechDB data after upgrading your CAMWorks installation.
12. Click on the Import button. The importing process will begin.
Note: The process of importing data takes a few minutes to complete. Do not
close the Technology Database main window while the importing
process is in progress.
Appendix A: Migrating Data from MS Access based TechDB to SQLite Based TechDB 41
Technology Database Setting Guide
6. Click on the Import Database tab. Click on the SQL Server tab within this tab.
Parameters associated with connecting to an SQL Server based database
will be displayed. Assign the following:
i. In the Server Name field, type in the Server Name.
ii. Select the Authentication mode from the dropdown list. Select
Windows Authentication to authenticate based on the default user ID
you use to log in to Windows or SQL Authentication to authenticate a
specific SQL user.
iii. If you select SQL Authentication, then enter the User Name and
Password in the respective fields.
iv. In the Database name dropdown list, select the SQL Server based
TechDB containing the customized data and click on the Get Database
button.
42 Appendix B: Migrating Data from SQL Server based TechDB to SQLite based TechDB
Technology Database Setting Guide
7. Once the database is located, the next step is to select the data to be
imported. By default, the checkboxes for all the data import options will be
checked. In case, your customized data pertains to only to specific data
sets, you can uncheck the data import options that do not contain
customized data.
8. The Create Backup Copy checkbox option in the Import Database tab will be
checked by default. It is recommended that you retain the tick in this
checkbox option before importing. This ensures that a backup copy of the
TechDB.cwdb file containing the imported customized data is created in the
same folder. (The name of the backed-up copy will be "Backup of TechDB".)
This backed up copy can be used the next time you need to import
customized TechDB data after upgrading your CAMWorks installation.
9. Click on the Import button. The importing process will begin.
Note: The process of importing data takes a few minutes to complete. Do not
close the Technology Database main window while the importing
process is in progress.
Appendix B: Migrating Data from SQL Server based TechDB to SQLite based TechDB 43
Technology Database Setting Guide
b. If you have installed CAMWorks for the first time and have a floating
network license, then create a centralized TechDB repository for a floating
network installation of CAMWorks.
c. If you have upgraded your CAMWorks installation for a floating
network license, then create a centralized TechDB repository and then import
customized TechDB data from your previous CAMWorks version.
Multiple Backup copies of the TechDB Source file created every time the ‘Create Backup
Copy’ option is exercised