NX Routing in Ugmanager Mode

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3
At a glance
Powered by AI
The key takeaways are that several Teamcenter definitions need to be created and files imported to configure the Routing Electrical application for use in NX Manager mode. Important things that need to be configured include the ugii_env_ug.dat file, Application View XML file, Routing Configuration, XML Schema File, Part Library View, and Electrical Part Table.

The main steps are to make changes to the ugii_env_ug.dat file, Application View XML file, and import required files to datasets with the correct Item IDs. Important things to define include the UGII_ROUTE_UGMANAGER_MODE, UGII_ROUTE_ELEC_APP_VIEW, and UGII_EPLIB_TABLE_PATH variables.

For the Application View setup, the Application View XML file needs to be imported to a dataset with the correct Item ID referenced by the UGII_ROUTE_ELEC_APP_VIEW variable. The naming of the Item ID, Dataset and Named References is important.

NX - Configuring the Routing Electrical application for use in NX Manager mode

To configure the Routing Electrical application for use in NX Manager there are several Teamcenter
definitions to create and several files to import. This document will provide the instruction and explanation
of the required procedure. This configuration is not specific to Routing Electrical. It can be used for
loading any Routing administrative files required for any Routing application.

The following changes are made in the ugii_env_ug.dat file:

1. UGII_ROUTE_UGMANAGER_MODE=TRUE
2. UGII_ROUTE_ELEC_APP_VIEW=ApplView. Appl view is the Item ID of the dataset in which
Routing Electrical XML file (ugroute_elec_in.xml or ugroute_elec_mm.xml) will be imported.
This name is not fixed. It is up to users to decide upon a name that they want to use for the Item
ID of the Item containing the “Application View” dataset in TC and to verify that this variable’s
value is set to that Item ID.
3. UGII_EPLIB_TABLE_PATH=Electrical Part Table. Electrical Part Table is the Item ID of the
dataset in which all the PTB files specified in the PLV file (ugroute_elec_inch.plv or
ugroute_elec_mm.plv) were imported. This name is not fixed. It is up to users to decide upon a
name they want to use for the Item ID of the Item containing “Routing Part Tables” dataset in TC
and make sure that this variable’s value is set to that Item ID.

Make the following changes to the Application View XML file:


1. Change the value of Part_Library_View preference under Part_Preferences in
ugroute_elec_mm.xml to Part Library View. This is the same as the Item ID of the dataset in
which ugroute_elec_mm.xml was imported (to specify the ugroute_elec_inch.xml, or the
ugroute_elec_metric.xml that will be read). This name is also not fixed.

Example:
<Part_Preferences>
<!--
Specify part library.
Valid elements are Part_Library_View or Part_Library_File_Select.
-->
<Part_Library>
<!-- Use a part library view -->
<Part_Library_View>
Part Library View
</Part_Library_View>
<!-- Use file selection only
<Part_Library_File_Select/>
-->
<!-- Executes the PART_LIBRARY_PLUGIN to retrieve the part library data. Uncomment
this to use In-Class data.
<Part_Library_Plugin/>
-->
If any of the above are not set-up correctly, “Routing: Unable to load application view” will be returned to
the user when the Electrical Routing application is initiated. For further information, you will have to look
at the end of the NX Syslog for further details as to what failed.
The naming of the Item ID, Dataset and the Named References is very important. First is the
Application View set-up and should look like:

 Not properly configuring the Application View will result in an error in the NX syslog such as:
+++ Unable to find application view file under item Appl View in Teamcenter.

Next, the Routing Configuration set-up should look as follows:

 Not defining the Routing Configuration properly in Teamcenter will result in an error in the
NX syslog such as:
+++ Unable to find application view file under item Routing Configuration in Teamcenter.

Next, the XML Schema File set-up and should appear as follows:
 If the XML file is not edited properly, you will see an error in the NX syslog such as:
+++ Failed to parse application view, parser error : UGXML Fatal Error at file
C:\DOCUME~1\tcadmin\LOCALS~1\Temp\ugroute_elec_inch.xml
 Not correctly defining the XML Schema File in Teamcenter will result in an error in the NX
syslog such as:
+++ Unable to find xml schema file in Teamcenter.

Next, the Part Library View set-up and should appear as follows:

 Not properly defining the Part Library View in Teamcenter will result in an error in the NX
syslog such as:
+++ Unable to find part library view file under item Part Library View in Teamcenter.

Next, the Electrical Part Table set-up should appear as follows:

 Not properly defining the Electrical Part Table in Teamcenter will result in an error in the NX
syslog such as:
+++ Unable to find part table files under item Electrical Part Table in Teamcenter.
 All the PTB files called in the PLV file must be imported to the Named References. If not,
you will see an error in the NX syslog informing you of what PTB file cannot be found such
as:
+++ Unable to find part table file wrapped_mm.ptb

You might also like