Documente Academic
Documente Profesional
Documente Cultură
Installation Guide
Version 10.1.0
TranscenData
A Business of International TechneGroup Incorporated
DuPont Circle
Milford, Ohio 45150
ITI PROVIDES THIS PROGRAM AS IS AND WITH ALL FAULTS. ITI SPECIFICALLY
DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR USE. ITI DOES NOT WARRANT THAT THE OPERATION OF THE
PROGRAM WILL BE UNINTERRUPTED OR ERROR FREE.
i-Man is a registered trademark of UGS Corp.
Siemens and the Siemens logo are registered trademarks of Siemens AG. UGS, Teamcenter and
UGS Teamcenter are trademarks or registered trademarks of UGS or its subsidiaries. This
software and related documentation are proprietary to UGS Corp. 2014 UGS Corp. All rights
reserved.
Copyright 2014 International TechneGroup Incorporated, 5303 DuPont Circle, Milford, Ohio
45150, U.S.A. All Rights Reserved.
This program contains software licensed from UGS Corp. 2014 UGS Corp. All Rights
Reserved.
i
Contents
Introduction ................................................................................................................................... 1
Prerequisites .................................................................................................................................. 1
Supported operating systems ...................................................................................................... 1
Client ....................................................................................................................................... 1
Server ...................................................................................................................................... 1
Teamcenter software versions..................................................................................................... 1
PTC software versions ................................................................................................................ 2
Other PTC requirements ............................................................................................................. 2
Installation Procedure .................................................................................................................. 3
Stop all active sessions................................................................................................................ 3
Starting the Installer on Windows............................................................................................... 3
Starting the Installer on UNIX .................................................................................................... 3
Client/Server Installation Walkthrough ...................................................................................... 4
Select the Teamcenter Version ............................................................................................... 4
Choose an Install Set............................................................................................................... 5
Typical Client Installation................................................................................................... 6
Typical Server Installation .................................................................................................. 6
Typical Client/Server Installation ....................................................................................... 6
Custom Installation ............................................................................................................. 6
Select an Install Folder............................................................................................................ 7
Select the Shortcut Folder ....................................................................................................... 8
Select the Start location .......................................................................................................... 8
Select the Teamcenter Root location ...................................................................................... 9
Select the Teamcenter Data Directory .................................................................................. 10
Install Integration queries and preferences ........................................................................... 11
Enter the Teamcenter user name and password .................................................................... 12
Install the Integration server library ...................................................................................... 13
Select the location for the BMIDE template files ................................................................. 14
Select theTeamcenter Rich Client Folder ............................................................................. 15
Select the Teamcenter Rich Client Temporary Folder ......................................................... 16
Select the Teamcenter FCC or TCCS directory .................................................................... 17
Select the Teamcenter IIOP directory ................................................................................... 19
Select the Creo Parametric root folder .................................................................................. 20
Enter the CAD application launch command ....................................................................... 20
Select the Java Runtime Environment Folder ....................................................................... 21
Select the non-Global deployment option............................................................................. 22
Configure JT translation ....................................................................................................... 23
Select the Multi-Site Transfer Ownership option ................................................................. 24
Pre-Installation Summary ..................................................................................................... 26
Installing ............................................................................................................................... 27
Post-Installation Summary .................................................................................................... 27
Typical Server Installation ........................................................................................................ 28
Typical Client Installation......................................................................................................... 29
ii
Silent Installation ...................................................................................................................... 29
Loading the Integrations BMIDE template ............................................................................. 29
New Installation .................................................................................................................... 29
Update Installation ................................................................................................................ 34
Updating the Integration template in the Business Modeler IDE (BMIDE) client........... 38
Configuring the Teamcenter Rich Client .................................................................................. 40
Activate new Integration icons ............................................................................................. 40
Modify IIOP Server settings ................................................................................................. 42
Loading the Attribute Mappings into Teamcenter .................................................................... 45
Known issues with create_attr_mappings:............................................................................ 46
Configuring CREO Parametric preview generation ................................................................. 48
ipem_upgrade_database utility ................................................................................................. 49
Configuring Access Manager ................................................................................................... 49
Background ........................................................................................................................... 49
Creating an ACL ................................................................................................................... 50
Modifying the rule tree ......................................................................................................... 50
Uninstalling Client installations on Windows .......................................................................... 51
Troubleshooting .......................................................................................................................... 52
Appendix ...................................................................................................................................... 56
Custom Installation ................................................................................................................... 56
Install Server Library ............................................................................................................ 56
Install Client .......................................................................................................................... 56
Configure Server Database ................................................................................................... 56
Configure Client for Database Access .................................................................................. 56
Configure Client for JT File Translation .............................................................................. 56
Configure Client for Multi-Site ............................................................................................ 56
Configure Rich Client to Launch Creo Parametric ............................................................... 56
Configure Creo Parametric ................................................................................................... 57
iii
Introduction
This guide describes the prerequisites and installation procedure for the Teamcenter Integration for
Pro/ENGINEER.
Prerequisites
The following software must be installed before installing the Teamcenter Integration for Pro/ENGINEER.
For 64-bit Windows machines, the Microsoft Visual C++ Redistributable Package (x64) must be
installed. The latest Package can be found at the following URL:
http://www.microsoft.com/en-
us/download/search.aspx?q=redistributable%20package&p=0&r=10&t=&s=Relevancy~Descending
Server
Windows
HP Itanium
Sun Solaris
IBM AIX
Linux
Supported client and server operating system version numbers are available in the Siemens certification matrix:
http://support.industrysoftware.automation.siemens.com/certification/teamcenter.shtml
Write permission to the Rich Client installation directory is needed to install files and configure the Rich Client
to start Creo Parametric.
Although this release is certified on Teamcenter 10.1.2.2, a further update is required in order to deploy
enhancement ER6719438: Ability to set CAD GEOMETRY to NO in Structure Manager, due to
Teamcenter PR7184699: Not able to export UG GEOMETRY property in tcxml
Customers planning to deploy the enhancement may install either of two Teamcenter updates:
Tc10.1.2.2_a01_1: Please contact GTAC for the location of this patch it is only available by request
Tc10.1.3: This update is available in the usual location on GTAC, and is generally available to all
customers
1
Those customers who choose Tc10.1.2.2_a01_1 are advised not to install any further Teamcenter patch which is
earlier than Tc10.1.3, because doing so will cause them to lose the fix for PR7184699, leading to a regression in
integration functionality.
Note: To import the JT files into Creo Parametric from Teamcenter, PTCs Interface for JT must also be
installed and accessible from the user's Creo Parametric session. This may require additional PTC
licensing. Customers should verify availability of the Interface for JT directly with PTC support.
2
Installation Procedure
Stop all active sessions
Before performing a server installation, all users must be logged out of Teamcenter, all server processes must be
halted, and all locks must be cleared from the database. The required steps are these:
Failure to perform these steps will result in an incomplete server installation, and will prevent the integration
from functioning properly. These steps are not necessary for client-only installations.
sh ./ipemsetup.bin
1
Your Teamcenter administrative user and password may be different; substitute the appropriate values
3
Client/Server Installation Walkthrough
The following instructions will walk you through a typical client/server installation. A client/server installation
contains all of the steps found in the other installations.
4
Choose an Install Set
The Teamcenter Integration for Pro/ENGINEER offers several alternative installations called Install Sets.
Before selecting an Install Set, you will need to determine some information about your site. This section will
help you determine what type of installation should be performed on each workstation.
The location of the Teamcenter server relative to the client depends upon the configuration of Teamcenter itself.
Each client will have a server process, and that process may run locally (in the case of a two-tier configuration)
or remotely (four-tier). In addition, at each Teamcenter site there is a single database that is updated as part of
the integration installation. The server part of the installation (Typical Server or Typical Client/Server)
updates files on the server and also updates the database schema. The database update only has to be run once
per site (although there is no harm in running it multiple times, and this may be convenient in some cases), but
the server file update must be done on each server machine. Here are the appropriate installation choices for the
most commonly used Teamcenter configurations:
Two-tier: Select Typical Client/Server installation on each client. This will run the database update
multiple times, but that does not cause a problem. You may also reply No to the prompt asking Would
you like to install the queries and preferences into the Teamcenter database? on all but the first
Client/Server installation, to bypass redundant database updates.
Four-tier: Select Typical Server Installation on the Enterprise tier (where the tcserver pool runs), and
select Typical Client Installation on each client workstation.
5
Typical Client Installation
Select Typical Client Installation if you need to install the client portion of the Teamcenter Integration for
Pro/ENGINEER. This installation is appropriate for a workstation that runs the Teamcenter Rich Client and
Creo Parametric, but not a Teamcenter server. This setting installs the files needed by the Teamcenter
Integration for Pro/ENGINEER, and configures the client to access available Teamcenter databases.
Custom Installation
A Custom Installation allows you to customize the actions taken by the installer. This selection can be
especially useful if you have already installed the Teamcenter Integration for Pro/ENGINEER, but need to
reconfigure the database. See the appendix for details on custom installation options.
2
Although all the steps are available, those which involve one-time operations such as database updates may be skipped on all but the
first execution of the Typical Client/Server path.
6
Select an Install Folder
After choosing Typical Client/Server Installation as your install set, you must select the directory where the
Teamcenter Integration for Pro/ENGINEER files will be installed. The interface for selecting the directory is
shown below. Please note that we recommend you do not install into a directory with spaces in its full path. If
you have an existing installation, you may install into that directory. Installing into the same directory will
preserve data from your existing ipem.properties and ipemxml files, although it may replace the original files.
The Choose button will display a file selection dialog to help you select a directory. Restore Default Folder
will restore the default selection.
7
Select the Shortcut Folder
After selecting an installation folder, the installer will prompt for a location to create shortcuts as shown below.
You have the option of creating shortcuts in the Program Menu, in the Start Menu, on the Desktop, or in the
Quick Launch Bar. Create Icons for All Users will install the shortcuts in a location common to all users. If
this box is left unchecked, shortcuts will only be created for the current user.
You will not be asked to choose a start folder if you chose Dont create icons in the previous screen.
8
Figure 5 Selecting the application start location
9
Figure 6 Selecting the Teamcenter Root location
If you dont have a path to TC_ROOT on your workstation3, then by definition it is a client-only workstation,
and you should return to the initial dialog and choose the Typical Client Installation option.
3
Bear in mind that the path to TC_ROOT may lead to a different workstation via a mounted drive letter, or a UNC path. As long as
the TC_ROOT location is reachable from your operating system, and you have write permission to its subdirectories, you may
proceed.
10
Figure 7 Selecting the Teamcenter Data directory
11
Figure 8 Installing queries and preferences
12
Figure 9 Entering the Teamenter user name and password
13
Figure 10 Installing the integration server library
If you have several Teamcenter databases, the libtxd library must be registered in the site preferences for each
database. You may repeat this step by using a server install for each database, or follow the custom installation
instructions in the Appendix.
14
Figure 11 Extracting the BMIDE template
15
Figure 12 Selecting the Teamcenter Rich Client folder
16
Figure 13 Selecting the Rich Client's temporary directory
17
Figure 14 Selecting the TCCS location
18
Select the Teamcenter IIOP directory
Specify the directory where the Teamcenter IIOP Server is installed. This will usually be directly under the
TC_ROOT location.
Note that you will be prompted for the IIOP directory for both a Typical Client/Server Install, and a Typical
Client Install. When the latter is performed on a four-tier client, there will be no valid IIOP directory. You
should accept the default proposed location, and press Continue in the resulting warning dialog:
19
Select the Creo Parametric root folder
The integration must know where the CAD application software is installed. The location will vary depending
on the version of the PTC software, and examples are given in the dialog:
20
Figure 18 Entering the PTC launch command
21
Figure 19 Selecting the Java runtime location
22
Figure 20 Selecting the deployment option - for new installations this should always remain Non-Global
Global install Installs protk.dat in PROE_COMMON_DIR/text for Creo Parametric, where PROE_DIR is the
path to the Creo Parametric installation directory and PROE_COMMON_DIR is the path to the common Creo
Parametric directory (e.g. C:\Program Files\PTC\Creo 2.0\Common Files\M010\text). Use this option if you
want the Teamcenter Integration for Pro/ENGINEER always loaded for all Creo Parametric users. With a global
installation, every Creo Parametric user must use the startpro_sync script to launch Creo Parametric, or users
may define the PRO_JAVA_COMMAND environment variable if they want to continue using their usual
command for starting Creo Parametric. The PRO_JAVA_COMMAND should be set to the full path to the
script "ipemrunner_sync.bat" located in the installation directory.
Configure JT translation
The installer can configure the Teamcenter Integration for Pro/ENGINEER to save DirectModel (JT) files for
viewing in the Teamcenter Rich Client. The figure below shows the dialog with the available options.
23
Figure 21 Configuring JT translation
The Generate and Save option generates and saves the JT file for a Creo Parametric model while the model
itself is saved to Teamcenter4.
The Save Only option saves the JT file for a Creo Parametric model, while the model itself is saved to
Teamcenter. This assumes that the user has previously generated the JT files in the same directory which
contains the source CAD files.
The No Action option causes JT files to be ignored when models are saved to Teamcenter.
For more information on configuring the Teamcenter Integration for Pro/ENGINEER for saving JT files, see
the section on Auxiliary Files in the integrations Administration Guide.
If you choose Yes, the Transfer Ownership command will appear in the Integrations shortcut menu when
users right-click on a Creo Parametric model in one of the Integrations dialogs. Please read the section on
4
This option requires that the ProEToJT translator is installed and functional within the Creo Parametric CAD session, including the
necessary licensing. This is a separate product and its installation and configuration are not documented here.
24
Multisite Configuration, in the Administration Guide, for additional information on tasks that must be
completed at your site and at remote sites before using the Transfer Ownership command in Creo Parametric.
The Transfer Ownership command is configured by an entry in the ipem.xml map file. Choosing No will
leave the files current contents unchanged. It does not remove any previous configuration that may have made
the Transfer Ownership command available.
25
Pre-Installation Summary
Before beginning the installation process, the installer will display a pre-installation summary of all the options
you have selected, as shown below. If you are satisfied with all the settings, click Install to begin the
installation. You can go back and make changes to these settings by using the Previous button.
26
Installing
The installer will begin copying files and making any configuration changes you have selected.
Post-Installation Summary
When the installer is finished, you will be notified of any steps that must be completed manually. The figure
below shows the message that will be displayed if no steps were skipped, and all steps executed successfully.
Several additional tasks, not handled by the installer, may be necessary at some sites. These tasks are described
in later sections of this document.
27
Figure 25 - Error-free installation message
28
Typical Client Installation
The Typical Client Installation is a subset of the Typical Client/Server Installation. The same client
installation is used regardless of whether the Teamcenter Rich Client installation is two-tier or four-tier. A
Client installation uses the following steps from the Client/Server installation.
Select the Teamcenter version
Select an Install Folder
Select the Shortcut Folder
Select the Start location
Select the Teamcenter Rich Client Folder
Select the Teamcenter Rich Client Temporary Folder
Select the Teamcenter FCC or TCCS directory
Select the Teamcenter IIOP directory
Select the Creo Parametric root folder
Enter the CAD application launch command
Select the Java Runtime Environment folder
Select the Non-Global deployment option
Configure JT translation
Select the Multi-Site Transfer Ownership option
Silent Installation
The Teamcenter Integration for Pro/ENGINEER installer has a silent mode that can run without user
interaction. To use silent mode, create an ipemsetup.properties file that defines the installation options for
your site. To create an ipemsetup.properties file, edit the template file samplesetup.properties, which can be
found in any existing client installation directory. Documentation for the supported installation options is
available in the template file. In a Windows environment, use double-backslashes for any paths in the
ipemsetup.properties file. For example, instead of the path c:\ipem use the path c:\\ipem. Once you have
finished editing the template file, either place the file in the same directory as the ipemsetup.exe program or use
the -f switch to ipemsetup.exe to specify the path. For example, the following command could be used to
install from a properties file located on a mounted network drive.
ipemsetup.exe -f u:\defaultinstallfiles\ipemsetup.properties
New Installation
Follow the steps in this section if the Teamcenter Integration for Pro/ENGINEER has never been installed in the
selected Teamcenter configuration.
Start TEM and advance to the Feature Maintenance screen. Select Add/Remove Features, then press Next:
29
Figure 26 Beginning a new integration installation
30
In the Select Features window, Navigate to the directory which contains the Teamcenter Integration for
Pro/ENGINEERs BMIDE template, using the Browse button:
31
Then select the feature_ipem.xml file from the BMIDE location, and press Select:
32
After returning to the Select Features window, select the newly-added Integration for Pro/ENGINEER feature,
then press Next:
Advance through the remaining TEM screens, providing the required information when prompted to do so,
until you reach the Confirm Selections screen:
33
Review the configured options and then press Next to install the template. Successful installation is confirmed
when the following message is displayed:
Update Installation
Follow these steps if the Teamcenter Integration for Pro/ENGINEER is already installed in the selected
configuration, and you are updating to a newer version of the integration. You should always perform this step
whenever upgrading to a new version of the Teamcenter Integration for Pro/ENGINEER.
Start TEM, and then advance to the Feature Maintenance screen. Select Update Database (Full Model
System Downtime Required) and then press Next.
34
Figure 32 Beginning an update installation
35
On the Update Database screen, press the Browse button to find and select the feature_ipem.xml file in the
location where it was saved during execution of the server install for the new version of the integration.
36
After selecting the template file, return to the Update Database (Full Model) screen and press Next.
Press Next on the two following screens. Successful update will be indicated by the following confirmation
message:
37
Figure 37 Successful update installation
Updating the Integration template in the Business Modeler IDE (BMIDE) client
If you had previously added the integrations template to the BMIDE client, then you must update the template
as part of updating to a newer version of the integration.
From the Feature Maintenance screen, select Add/Update Templates for working within the Business
Modeler IDE client, then proceed as directed by TEM, to complete the update:
38
Figure 38 Updating the integration template in the BMIDE
39
Configuring the Teamcenter Rich Client
Activate new Integration icons
This step is only required if the integration icons are not available in the Teamcenter Rich Client.
ProAsm.ICON=images/pro_asm.gif
ProPrt.ICON=images/pro_prt.gif
ProDrw.ICON=images/pro_drw.gif
ProFrm.ICON=images/pro_frm.gif
ProMfg.ICON=images/pro_mfg.gif
ProSec.ICON=images/pro_sec.gif
ProLay.ICON=images/pro_lay.gif
Pro2Cem.ICON=images/pro_cem.gif
ProDgm.ICON=images/pro_dgm.gif
ProMrk.ICON=images/pro_mrk.gif
ProRep.ICON=images/pro_rep.gif
ProGph.ICON=images/pro_gph.gif
In newer versions of Teamcenter, there is a %IPR_DIR% \registry\genregxml.<ext> script that the client
installation invokes, to automatically add the integration icons to the Teamcenter Rich client. If you are using
an older Teamcenter version, this script may not exist and so the integration cannot invoke it. In that case, you
must perform the following manual steps:
1. Navigate to %IPR_DIR% and edit the Teamcenter.ini file. Remove the -DskipRegReload option from
the java command line.
2. Start the Teamcenter Rich client and and verify that the integration dataset icons are available. This is
most easily done by selecting File | New | Dataset in the Navigator application, to create a dataset for
each of the eleven types defined by the integration:
5
IPR is the installed location of the Teamcenter Rich Client
40
Figure 39 Integration dataset types
Then verify that the newly-created datasets can be viewed in the rich client:
3. Stop Teamcenter Rich client and restore the -DskipRegReload option in the Teamcenter.ini file.
41
Modify IIOP Server settings
When installing the Teamcenter two-tier Rich Client, the default option for the tcserver activation mode is
NORMAL. This setting causes all client sessions to share a single instance of tcserver, which leads to a
conflict when the user exits from one client. While shutting down, the client may terminate its tcserver process,
which is still being used by the other client.
This conflict is resolved by setting the tcserver activation mode to PER_CLIENT. It is best done during initial
installation of the two-tier Rich Client, but may also be done at any later time. The following steps are required:
Start the TEM installer and advance to the Feature Maintenance screen. Select Modify 2-tier Teamcenter
Server Configurations, then press Next:
On the next screen, change the Server Activation Mode from NORMAL to PER_CLIENT. In Teamcenter
9.1 you must hit the Advanced button on the bottom right to get the screen to adjust this parameter:
42
Figure 42 Selecting the PER_CLIENT activation mode
44
Loading the Attribute Mappings into Teamcenter
Important note: The integration leverages Teamcenter attribute mapping support for improved performance.
The complete syntax and requirements for this Teamcenter functionality are described in the Teamcenter
documentation. The integration provides a utility and simplified documentation, here, to automate the
configuration process as much as possible. This may not be sufficient for all customers and all configurations,
particularly those involving custom Item types and custom relations. In such cases, please refer to the
Teamcenter documentation on attribute mapping.
The attribute mappings defined by the attribute_map tag in the ipem.xml file, and the attributes stored in the
Teamcenter database, must always match. A five step process is used to create and merge the attribute
mappings into Teamcenter. A client installation must be done before these steps can be performed, as files are
required from the client installation. Step 1 can be skipped if a Teamcenter command shell with direct server
access can be run from the integration client installation directory.
%IPEM_DIR%\ipem.jar
%IPEM_DIR%\ipem.dtd
%IPEM_DIR%\create_attr_mappings (UNIX) or create_attr_mappings.bat (Windows)
%IPEM_DIR%\soa_client9\xercesImpl.jar
%IPEM_DIR%\ipem.xml
a. Open a Teamcenter command shell and change to the directory where you copied the files in step
1.
b. Run create_attr_mappings.bat (or create_attr_mappings on UNIX) to create a text file from
the attribute mapping definitions in ipem.xml:
If item types other than Item are used with the integration, then those item types must be
specified using the itemtypes argument. itemtypes is a colon separated list. If the item type
name contains spaces, it must be enclosed by double quotes:
3. Extract all existing mappings from Teamcenter and make a backup copy.
a. From the Teamcenter command shell, use the export_attr_mappings utility to create an
existing_attr_mappings.txt file:
Note that warning messages, such as the example below, may be ignored:
45
WARNING: Item Master form - no master qualifier found, adding master=iman
for attribute = : Item.GRM(IMAN_master_form,Item Master)
a. From the Teamcenter command shell, run the import_attr_mappings utility to import the
mappings into Teamcenter:
In this example, the customer wants attribute mapping to apply only to the custom type CustomDesign, but
continues to use the simplified syntax for the pdm_name tag in ipem.xml:
<attribute_map cad_type="PRT">
<attribute>
<cad_name value="cadProperty1"/>
<pdm_name value="Item Master.pa4tcAttribute1"/>
<missing_attribute_action value="create"/>
<direction value="both"/>
</attribute>
<attribute>
<cad_name value="cadProperty2"/>
<pdm_name value="ItemRevision Master.pa4tcAttribute2"/>
<missing_attribute_action value="create"/>
<direction value="both"/>
</attribute>
</attribute_map>
46
create_attr_mappings.bat is run as follows, to generate mappings for the custom type
create_attr_mappings u=infodba p=infodba i=ipem.xml o=ipem_attr_mappings.txt itemtypes=
Pa4CustomDesign
{ Dataset type="ProPrt"
cadProperty1 : Item.GRM(IMAN_master_form,Item Master).pa4tcAttribute1
cadProperty2 : ItemRevision.GRM(IMAN_master_form,ItemRevision Master).pa4tcAttribute2
{ Item type="Pa4CustomDesign"
%txd1%cadProperty1 : Item.GRM(IMAN_master_form,Pa4CustomDesignMaster).pa4tcAttribute1
%txd1%cadProperty2 :
ItemRevision.GRM(IMAN_master_form,Pa4CustomDesignRevisionMaster).pa4tcAttribute2
}
}
Importing this attribute mapping into Teamcenter would result in the custom attributes being mapped for both
the OOTB Item type and the custom Pa4CustomDesign type, which is not the desired behavior.
Resolution:
Use the fully qualified attribute mapping syntax in ipem.xml, whenever a custom Item type and/or custom form
is involved. In the example above, the correct syntax would be this:
<attribute_map cad_type="PRT">
<attribute>
<cad_name value="cadProperty1"/>
<pdm_name value="Item:Pa4CustomDesign.Form:Pa4CustomDesignMaster.pa4tcAttribute1"/>
<missing_attribute_action value="create"/>
<direction value="both"/>
</attribute>
<attribute>
<cad_name value="cadProperty2"/>
<pdm_name value="ItemRevision:Pa4CustomDesign
Revision.Form:Pa4CustomDesignRevisionMaster.pa4tcAttribute2"/>
<missing_attribute_action value="create"/>
<direction value="both"/>
</attribute>
</attribute_map>
When create_attr_mappings is run on this input file, the resulting ipem_attr_mappings.txt file looks like
this, which yields the desired runtime behavior:
{ Dataset type="ProPrt"
{ Item type="Pa4CustomDesign"
cadProperty1 : Item.GRM(IMAN_master_form,Pa4CustomDesignMaster).pa4tcAttribute1
cadProperty2 :
ItemRevision.GRM(IMAN_master_form,Pa4CustomDesignRevisionMaster).pa4tcAttribute2
}
}
In other words, the itemtypes parameter on the create_attr_mappings command line does not limit the
mapping to the specified types; it only adds the specified types to the set which already includes the OOTB Item
type.
47
DB_PART_TYPE "Part Type"
DB_PART_REV "Part Revision"
DB_PART_NO "Part Number"
DB_PART_NAME "Part Name"
DB_PART_DESC "Part Description"
<cad_name value="DB_PART_NO"/>
<pdm_name value="Item.item_id"/>
It would result in the create_attr_mappings utility output text file containing this definition:
{Dataset type="ProPrt"
DB_PART_NO:Item.item_id
}
Since Teamcenter does not allow duplicate name and we cannot change the predefined values, The Teamcenter
Integration for Pro/ENGINEER handles these mappings by putting a prefix of %txd1% in front of the CAD
property name. The integration strips off the prefix during attribute processing.
Resolution:
Open the merge_attr_mappings.txt file and search for any of the predefined strings like DB_PART_NO and
add the %txd1% prefix (1 in %txd1% is a counter and should be incremented if the DB_PART_NO is
mapped multiple times).
{Dataset type="ProPrt"
%txd1%DB_PART_NO:Item.item_id
}
Note: This step may or may not be necessary. If your file already has the %txd1% prefixes, you do not need to
add them.
save_bitmap alllevels
save_bitmap_type jpeg
The API-based preview generation manipulates the users Creo Parametric session. Windows will flash and
models will be zoomed to fit. Some users may not like the manipulation. With save_bitmap configured to
generate the images, the manipulation does not occur for most models. The one exception is in-session family
table instances, which are still generated using the API. There are some cases (usually long and skinny shapes)
where images generated using the save_bitmap configuration result in images that do not fit within the preview
frame. The problem can be corrected by zooming the model to fit or setting save_bitmap back to none before
saving.
48
ipem_upgrade_database utility
It is necessary to run the ipem_upgrade_database utility on all databases before enabling Teamcenter Rename
and/or Duplicate and before sharing data between sites using Teamcenter Multisite. Please refer to the
administration guide for more information.
The remainder of this section explains how to configure and use Teamcenter to execute the administrative use cases
without resorting to bypass. The steps shown are for a single site; additional configuration may be required for
multi-site environments.
49
Creating an ACL
As a privileged user, such as infodba, you can create an ACL that grants permission to perform all Teamcenter
actions on a specific type, for a specific group and role. Here is an example of such an ACL:
This ACL states that if a user has the DBA role in the iPEM_ADMIN group, then he can perform all actions on the
specified object type.
Once these rules are created, then they should be added in the appropriate position within the rule hierarchy. For
example:
50
Figure 47 Example rule tree modification
51
Troubleshooting
If you have trouble starting Creo Parametric, or if Creo Parametric starts, but no Teamcenter menu appears:
Might get this error dialog for the installer:
Make sure that the %TMP% or $TMP is set correctly for installation user.
Make sure the minimum required build of Creo Parametric is installed. See the section on Prerequisites
for the Teamcenter Integration for Pro/ENGINEER for more information.
Often problems must be sent to Siemens for analysis. We will need a txdlog.txt file for us to better
understand the issue. To generate this file for a particular problem, add the following lines to the end of
the file (this will ensure that it overwrites any other settings) or uncomment the existing lines and
change in ipem.properties:
log.enable = true
log.file = c:\\temp\\txdlog.txt
log.suppress = 10000
Restart Creo Parametric and rerun the test. Send us the txdlog.txt file which will be in the directory
specified by the log.file setting, as in the example above.
The message Startup of application iPEM failed may indicate that Creo Parametric timed out while
waiting for the Teamcenter menu to appear. This is particularly likely to occur when Creo Parametric or
the Teamcenter Integration for Pro/ENGINEER is installed on a remote disk, instead of locally, and
must be loaded over a network. A longer timeout can be specified for some versions of Creo Parametric
by editing the startpro_sync script on UNIX, or startpro_sync.bat on Windows, to change the value of
the PRO_JAVA_CONNECT_TIMEOUT environment variable. The value of this variable is the
number of seconds Creo Parametric should wait for the Teamcenter menu to appear. Adding 60 or 120
seconds to this value may solve the problem at sites with slow networks.
If a user encounters what appears to be a "timed out session" with no errors, no indications of trouble, no
results, and a blank Creo Parametric session, then consider changing the java timeout and heap size:
Change the java timeout by editing %IPEM_DIR%\startpro_sync.bat on Windows or
$IPEM_DIR/startpro_sync on UNIX
set RPC_TIMEOUT=86400
set PRO_JAVA_CONNECT_TIMEOUT=1800
Change the java heap size minimum and maximum settings by editing
%IPEM_DIR%\ipemrunnersoa.bat on Windows or $IPEM_DIR/ ipemrunnersoa on UNIX
52
set ARGS=%ARGS% -Xms512m -Xmx4096m
Make sure a file named txd_imanmsg.txt has been installed in %PROE_DIR%\text on Windows, or
$PROE_DIR/text on UNIX, where PROE_DIR is the path to the Creo Parametric installation directory.
If the file is not there, copy the file from the subdirectory named text in your Teamcenter Integration for
Pro/ENGINEER installation directory. Refer to the manual instructions in the Install protk.dat section
for more information.
If a Global Install was selected for Creo Parametric, there should be a filed named protk.dat in
%PROE_DIR%\text on Windows, or $PROE_DIR/text on UNIX, where PROE_DIR is the path to the
Pro/ENGINEER installation directory. Refer to the manual instructions in the Install protk.dat section
for more information.
If a protk.dat file exists in %PROE_DIR%\text on Windows, or $PROE_DIR/text on UNIX, but no
Teamcenter menu appears, Creo Parametric might be using a protk.dat from another location. Search
your Creo Parametric installation for another protk.dat file in machine/text/language, where
language is the Creo Parametric language of your installation, such as usascii, and machine is a
directory that is specific to your computers architecture, such as i486_nt. Also, another protk.dat file
might be specified by a PROTKDAT, PRODEVDAT, or TOOLKIT_REGISTRY_FILE statement
in a Creo Parametric configuration file. If another protk.dat file exists in one of these locations, paste
the lines from %IPEM_DIR%\protk.dat into that protk.dat file.
Make sure any Windows paths specified for the PROE_DIR, JRE_DIR, IPR_DIR, IPR_DIR, or
IPEM_DIR variables in scripts or in the users environment do not have spaces in them. If necessary,
use a command window and the MS-DOS command dir /x to determine the short MS-DOS name for a
file or directory.
On Windows, use only mapped drives in paths. Do not use UNC paths. For example, the path
C:\shared\ugs\ipem should cause no problems, but a UNC path such as
\\mycomputer\shared\ugs\ipem should be avoided.
Make sure the PROE_CMD environment variable defined in the startpro_sync or startpro_sync.bat
script is the correct command to start Creo Parametric. If using Wildfire on Windows, the proe1
command is usually the correct command to start Creo Parametric, and parametric1 is usually the
command to start Creo Parametric.
Make sure the pe.command user preference defined in the ipem.properties file (or in the .ipemrc file) is
the correct command to start Creo Parametric. If backslash characters are used in ipem.properties,
escape each backslash with another backslash. The parametric command is usually the correct
command to start Creo Parametric.
Make sure the bin subdirectory in the Creo Parametric installation is specified in the users PATH
environment variable, and that no other versions of the Creo Parametric bin directory precede it in the
PATH definition. Also make sure that this is the correct bin directory for the command used in the
PROE_CMD environment variable in the startpro_sync or startpro_sync.bat script, and in the
pe.command user preference.
Make sure the PROE_DIR variable in the ipemenv or ipemenv.bat script specifies the correct Creo
Parametric installation directory.
Make sure the JRE_DIR variable in the ipemenv or ipemenv.bat script specifies the correct installation
directory for the Java runtime environment. A 64-bit JRE is needed to run Creo Parametric on
Windows 64-bit and should be installed by the Creo Parametric installer.
53
If the PROE_DIR or JRE_DIR variable is already defined in the users environment, it will take
precedence over the variables definition in the ipemenv.bat script. If the user prefers setting these
variables in his environment, make sure they are defined correctly; otherwise remove them from the
users environment so the ipemenv.bat definitions take effect.
The path to the Rich Client installation directory may be too long for scripts to work correctly. If you
open a command window and execute the startpro.bat script, the message The input line is too long
will appear in the command window if this is the problem. The path assigned to the %IPR_DIR%
environment variable in the ipemenv.bat script must be shortened. You may need to re-install the Rich
Client in a location with a shorter path, and then change the %IPR_DIR% environment variable in
ipemenv.bat appropriately; you may also need to use short DOS names in the %IPR_DIR%
environment variable (use dir /x in a command window to see the short DOS names of directories).
Alternatively, consider mapping a drive letter to the folder where the Rich Client is installed, and use
that mapped drive in the %IPR_DIR% definition in the ipemenv.bat script.
If the Teamcenter menu appears in Creo Parametric, but has no commands in it, exit from Creo
Parametric and start again. Using startpro_sync.bat to start Creo Parametric, instead of the
startpro.bat script, will usually avoid this problem.
If a Creo Parametric session is running and user wants to open models from Teamcenter Rich Client; a
dialog should prompt the user to send model to the current session, or to launch a new Creo Parametric
session. If this dialog does not appear, a possible cause is that the tasklist.exe executable is missing in
the %PATH%. Here are possible locations:
XP: <system drive>:\Windows\system32
XP 64: <system drive>: \Windows\sysWOW64
Window 7/Vista: <system drive>: \Windows\system32
Windows 7/Vista 64: <system drive>: \Windows\sysWOW64
When a user attempts to open models from the Teamcenter Rich Client, the system may respond with
Launch to Session Failed due to invalid or no selection. This type of launch failure might be caused by
the Teamcenter TC_check_out_dir site preference being set to a non-existent directory on the
Teamcenter client workstation. The launch plugin provide by the Teamcenter Integration for
Pro/ENGINEER creates a file named from_portal.txt in the directory location specified by the
following search order:
1. TC_check_out_dir (TC site preference)
2. user.dir (system variable, per user)
Check to ensure these values are set correctly.
If you receive the message, Installation of the Teamcenter Integration for Pro/ENGINEER is not
complete (types not completely installed) in the last panel of the installer when doing Typical Server
Installation or Typical Client/Server Installation. Try the below steps to correct the problem:
o Check the temp directory for ipem_db_adjust.log file for errors and correct if possible. It might
be the server username password was incorrect.
o Check Teamcenter system log files in temp directory for possible errors (e.g.
preference_manager*.log, plmxml_import*.log, etc.).
o Consider cleaning up the temp log files to ensure that the latest versions are available.
o Make sure that the server has adequate temp space available.
o Stop all active sessions
54
o All users must be logged out of Teamcenter, all server processes must be halted, and all locks
must be cleared from the database. The required steps are these:
1. Advise all users to log out of Teamcenter.
2. In a four-tier environment, shut down the pool manager using the control panel at
http://serverhost:8082.
3. From a Teamcenter command line on a server host, run the clearlocks command:
clearlocks -assert_all_dead infodba infodba dba
o Run the Typical Server Installation again on the host where your TC_ROOT directory is
located and chose to install Pro/Engineer queries and preferences in Teamcenter (if you first
installed using Typical Client/Server Installation is fine to run just Typical Server
Installation).
Sometimes it is necessary to specify a specific language supported by Teamcenter that is not the native
language of the client operating system. For example, if the client native operating system is Hungarian
and the desired and supported Teamcenter language is German. To override the native operating system
client value, edit the %IPEM_DIR%\ipemrunnersoa.bat and find this line:
In %IPEM_DIR%\ipemrunnersoa.bat:
set ARGS=%ARGS% -DTXD_USE_SOA=1
In %IPEM_DIR%\ipemrunnersoa.bat (Windows):
set ARGS=%ARGS% -DTXD_USE_SOA=1
set ARGS=%ARGS% -Duser.language=xx -Duser.country=YY
55
Appendix
Custom Installation
A custom installation allows you to select one or more of the following features.
Install Client
Select an Install Folder
Select the Shortcut Folder
Select the Start location
Select the Teamcenter Rich Client Folder
Select the Teamcenter FCC or TCCS directory
Select the Teamcenter IIOP directory
Select the Java Runtime Environment Folder
Select the Creo Parametric root folder
Enter the CAD application launch command
Configure JT translation
Select the Multi-Site Transfer Ownership option
56
Configure Creo Parametric
Select an Install folder (the folder in which the integration client is already installed)
Select the Creo Parametric root folder
Enter the CAD application launch command
Select the non-Global deployment option
57