cancel
Showing results for 
Search instead for 
Did you mean: 

Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Legend
Legend

We have all of our Usernames in NX stored as lowercase.

We want to be filling out our title block with the teamcenter 'created by" attribute.

When we mapp this to NX the text comes in as all lower case.

Is there a way in NX or in The teamcenter mapping we can force this attribute to come in as all upper case in NX?

 

 

6 REPLIES

Re: Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
Have you tried wrapping the attribute in a regular expression (regexp) with the \U switch to uppercase the value?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Legend
Legend

 Do I just need to use the \U in the mapping file? 

 

Would you please give me a example tidbit on how this syntax would be formated?

 

We are new to this attribute mapping trying to get this all figured out.  Thanks

 

 

Re: Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
You won't be able to change the value directly in the mapping. It will have to be changed at the point of usage, in the Title Block. You can either try to format the cell for uppercase or wrap the part attribute with the regexp \U for uppercase. I'll try and find a specific example and get back to you.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Legend
Legend

Ahah ok thanks.  That would be great and really appreciated.  Thanks for the help on this issue.

Re: Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
Looks like once you have the part attribute in the text editor then you can write an expression to wrap to part attribute. StringUpper($PART_ATTRIBUTE). Ref: https://docs.plm.automation.siemens.com/tdoc/nx/11/nx_help#uid:xid1128417:index_modeling:expressions...

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Attribute Mapping From Teamcenter to NX Lowercase to all Caps

Legend
Legend

HA ha That worked.  I missed the expression part, we were trying to do it in the cell it self.

 

Thanks for the help.!!!