Currently Browsing: Teamcenter

Better Control the Data format database attribute sync from TcEng to NX

Starting in Teamcenter Engineering 2005 SR1 MP3, they have added a new format string. In the “IMAN_BASE_DIR\lang\textserver\en” is a file for time. Add the following key:
<key id=”NXDefaultDateFormat”>%d-%b-%Y</key>  

Restart your Teamcenter Service and open your drawings now it will have the DDMMYYYY format. If you want other formats there are other variables to get different results.

NX/Manager

When you do a saveas from NX into Teamcenter Engineering, a Teamcenter variable comes into play. This is:

DATASET_saveas_pattern=${ItemID}/${RevisionID}

Which in Teamcenter 2005 (10) is stored in the database, found from Portal at: Edit -> Option… ->  Search (tab on bottom)

But what if your UGMASTER, UGPART, UGALTREP or other datasets have different naming conventions? Lets say you add a ‘Drawing’ text into the naming. The Save-As will fail. So to fix this you need to add DATASET specific saveas_pattern. This example is for UGPART datasets:

UGPART_saveas_pattern=${ItemID}-Drawing/${RevisionID}

Think of the DATASET_saveas_pattern as the global rules, and the specific dataset patterns as overrides.

Portal Debug

Enable debug in Portal:  set IMAN_SDL_MAGIC=42 in an environment variable

Teamcenter Slow? Want to know why?

If you are having performance issues with Teamcenter and you want to have some sort of clue as to what is going on, set the following variable:

set IMAN_SLOW_SQL=1

When running Teamcenter and something takes longer then there will be some eplaination in the syslog of what is going on. It probably won’t be really clear what to do but it will explain the area and what it is trying to do in some cryptic way. In this case i set IMAN_SLOW_SQL=1, 1 being seconds, this may register a lot of issues depending on your environment, set it to 2 seconds to filter out the syslog and narrow down the major performance issue.

Set Portal to view only specific type of Item/Revisions

A possible scenario is your running Portal in Teamcenter Engineering and you have a huge list of revisions under an Item. Or you don’t want to figure out each time you expand an Item which revision you should be working on. So Portal has this option to make things easier for you. You can set the Item/Revisions that are displayed on revision rules.

To do this:

Set Portal Item Revision display rules

Edit -> Options -> General (folder on the left) -> Item (sub type) -> Display (tab)
check “Show displayable revisions only”
Add your rule that you want users to see

What you end up with is a shorter list of Item/Revisions.

« Previous Entries