联系我们
联系原厂或当地办公室
Parent page: PLM Integration
Siemens Teamcenter® PLM integration requires additional setup that is not managed automatically by the Enterprise Server instance installer. Essentially, there are two levels of setup needed, depending on the integration features required. The first level enables Parts Synchronization and is also a prerequisite for the second level, which enables Project Publish/Initialization PLM processes. Nevertheless, it is recommended to perform both setup levels.
In order to enable library parts synchronization you need to install the Siemens Teamcenter® EDA (Electronic Design Automation) Gateway software on the machine that hosts the Enterprise Server. This document assumes that the Enterprise Server and the Teamcenter server are already installed on separate machines – we would recommend this approach to ensure separation between the two installations, although they could be installed on the same machine.
The entire installation and configuration procedure for EDA Gateway is described in detail in the version-specific EDA Integration documentation available in the Siemens Support Center. Please follow that documentation thoroughly. The instructions here only cover deviations from the Siemens documentation, or specify Altium-side details that are referred to as requirements in the Siemens documentation.
Choose a version of EDA Gateway that supports your Teamcenter server version – you should find compatibility information in Gateway's corresponding TcEDA<version>_README.pdf
files available in the download center. You should then consult the Installing and Configuring EDA Gateway for (Non-Mentor) ECAD Applications documentation (example link is for EDA version 5.1), on the topic of Installing and Configuring EDA Gateway for (Non-Mentor) ECAD Applications for part library management to guide you through the setup:
If you plan to enable the Enterprise Server/Teamcenter interface for both Library and Design Management, consider installing all of the required Teamcenter features through the Team Environment Manager (TEM configuration manager) – refer to Setting up EDA Gateway for ECAD applications:
In addition, perform Install and set up Common Integration Services to support Design Publishing.
Next, follow the steps and install EDA Gateway CLIENT on the Enterprise Server machine. To simplify the process, we suggest using the C:\Siemens\TeamcenterEDA2
folder.
As above, for this section you should also consult the Installing and Configuring EDA Gateway for (Non-Mentor) ECAD Applications documentation (example link is for EDA version 5.1), on the topic of Installing and Configuring EDA Gateway for (Non-Mentor) ECAD Applications for part library management.
Please refer back to this set of instructions when you reach specific chapters in the Teamcenter documentation. The sections below refer to those chapters by name.
During that step you will be asked to prepare a library gateway configuration file – instead, use one provided by Altium. You can download it with a package of sample configuration files from Enterprise Server Workspace's browser interface: Open Admin » PLM Integration, use the Add Instance button to open Add new instance window, select the Configuration tab and then Download sample configuration.
Inside the downloaded ZIP file there will be an altiumLibrary_edadef.xml
file – put this file into the directory pointed to by the system environment variable: %TCEDAECAD_ROOT%
. Also add the provided altiumPcb_edadef.xml
file to that directory.
Open Teamcenter Rich Client as the infodba
user, or as another user with administration privileges.
► See information on the Teamcenter Rich Client.
The screenshots below illustrate the steps described in Create external applications for your ECAD tool in Teamcenter. In our case we will add altiumLibrary,15
to the EDALIB_External_Applications preference:
Click the command to add the new value, followed by Save, and then close the preference. Logout and then log back in to the Teamcenter Rich client.
altiumLibrary
application as shown below:Through the Teamcenter command prompt, run the export_attr_mappings
utility to output the mapping to a file, for example:
export_attr_mappings.exe -file=mappings.txt -u=infodba -p=infodba
Modify the mappings.txt
file according to your requirements to map real Teamcenter attributes on the components. An example working mapping, added to the content of exported mappings.txt:
{ Item type="EDAComPart" Cost : Item.GRM(IMAN_master_form).object_desc /description="Cost" Tolerance : ItemRevision.GRM(IMAN_master_form).object_desc /description="Tolerance"}
After mapping is complete, import it back to Teamcenter :
import_attr_mappings.exe -file=mappings.txt -u=infodba -p=infodba
To troubleshoot attribute mapping problems you can turn on detailed logs by including the line rootLogger.level= DEBUG
in the C:\Program Files\Siemens\TeamcenterEDA2\eda\log4j2.properties
file.
Logs from Teamcenter EDA execution can be found in C:\Windows\TEMP\eis_eda_log.log
.
Classification mapping is an optional setup requirement and may not be used or needed for your Teamcenter PLM installation. Note that to use classification attributes, they need to be included in the attribute mapping configuration/file when completing the previous 'Mapping ECAD part attributes to Teamcenter attributes' section above.
Before beginning this setup stage, ensure to have classification functionality enabled. Then follow instructions to set up classification mapping.
Make sure that _eda2tc.csv
has columns in order category,classId
and _tc2eda.csv
has columns in order classId,category
. If necessary, swap file names.
To use classification attributes you need to include them in the attribute mapping. An example of classification attribute mapping is:
"SMT attribute" : ItemRevision.ICS(-60262) /description="SMT"
Where number -60262
can be found with the Classification Admin tool in Teamcenter.
Classification information can be sent with a special Classification
attribute included in your XML configuration file of the PLM (typically dm-config.xml
or similar). For example:
<common:Attribute> <common:Key>Classification</common:Key> <common:Value>${parameter.Classification}</common:Value> </common:Attribute>
The value of this attribute should be a comma-separated path in the classification tree, for example: “Components,SMT,Capacitor
”.
Similarly, classification attributes can be referenced by the name that was configured in the attribute mapping on the Teamcenter server, for example:
<common:Attribute> <common:Key>SMT attribute</common:Key> <common:Value>smt attr value</common:Value> </common:Attribute>
Before synchronization is possible with the Enterprise Server, it is necessary to create a library with the eda_cli.bat
command (located in the directory of %TCEDAECAD_ROOT%
in the Enterprise Server machine), and also ensure that the created files are accessible to the Enterprise Server:
edacli.bat -configureLibrary -application altiumLibrary -status %userprofile%\status.xml
At this stage it should be possible to perform an Enterprise Server Component Sync and an Enterprise Server Part Request with PLM Part Create process.
release_status_list.name = ‘TCM Released’
will be synchronized from Teamcenter to Altium. This can be changed in the Teamcenter Query Builder by modifying the query used by Teamcenter to select components (see example).The name of the query is stored in the EDALIB_Sync_FindNewParts preference. The default query is __EDALIB_find_newparts
and is shown below.
The last condition can be removed to synchronize components that are not “TCM Release
d” as yet.
► Refer to the related Siemens Teamcenter documentation for more information.
dm-config.xml
) will be ignored without warning. The target folder is taken from the Teamcenter user level, or the site level option EDALIB_SaveAsFolderDefault for all component types.Design publishing from Altium to Teamcenter is only possible through the Altium Designer. In order to enable design publishing you need to install Teamcenter EDA (Electronic Design Automation) Gateway on the machine where Altium Designer is installed. You will also need access to both the Enterprise Server and the Teamcenter server.
The installation and configuration procedure for EDA Gateway is described in detail in the version-specific EDA Integration documentation available in the Siemens Support Center. Please follow that documentation thoroughly. The instructions here only cover deviations from the Siemens documentation, or specify Altium-side details that are referred to as requirements in the Siemens documentation.
Choose a version of EDA Gateway that supports your Teamcenter server version – you should find compatibility information in Gateway's corresponding TcEDA<version>_README.pdf
files available in the download center. You should then consult the Installing and Configuring EDA Gateway for (Non-Mentor) ECAD Applications documentation (example link is for EDA version 5.1), on the topic of Installing and Configuring EDA Gateway for (Non-Mentor) ECAD Applications for design management to guide you through the setup:
If the creation of components during project publish is to be supported, then part of the library configuration must be performed on the server. This applies to the default section strategy <pt:BomStrategy>CreateNewAndLink</pt:BomStrategy>
in the publish template.
The destination folder for designs can be set by the site/user options: EDA_SaveAsFolderDefault.
BOM line Reference Designator
and Quantity
attributes are handled automatically, but need to be included in the <BOM>
section of the PLM connector XML Configuration file:
<BOM> <BOMAttributes> <!-- "Reference Designator" attribute is mandatory for Teamcenter EDA connector --> <common:BOMAttribute> <common:Key>Reference Designator</common:Key> <common:Value>${parameter.LogicalDesignator}</common:Value> </common:BOMAttribute> <!-- "Quantity" attribute is mandatory for Teamcenter EDA connector --> <common:BOMAttribute> <common:Key>Quantity</common:Key> <common:Value>${parameter.Quantity}</common:Value> </common:BOMAttribute> </BOMAttributes> </BOM>
To use other BOM line attributes it is necessary to include them in the BOM line attributes mapping section of the altiumPcb_edadef.xml
file. For example, the below entry adds mapping of the Altium attribute part_source
to the Teamcenter BOM line attribute bl_part_source
:
<RdnAttrMapDefs> <RdnAttrDesign cadAttrName="part_source" tcAttrName="bl_part_source"/> </RdnAttrMapDefs>
When such mapping is added, it is possible to define its value in the <BOMAttributes>
section of the PLM connector XML Configuration file:
<!-- You can add any other custom attributes, but these need to be mapped to Teamcenter attribute in altiumPcb_edadef.xml file --> <common:BOMAttribute> <common:Key>part_source</common:Key> <common:Value>${parameter.MakeOrBuy}</common:Value> </common:BOMAttribute>
After creating a derived data configuration (see references in the altiumPcb_edadef.xml
file), you can specify the name of the configuration in the EDA_DerivedDataConfigDefault preference.
Pathname: $TEMP\Altium\TcEda\Project\pcb\*.*
Pathname: $TEMP\Altium\TcEda\Project\schematic\*.*
Pathname: $TEMP\Altium\TcEda\Project\$VARIANT\pcb\*.*
Current Project Publishing Limitations:
联系原厂或当地办公室