I have run into a problem with NX at my work,
for reference we use NX11
We save our part numbers with the following layout "12345 - 1"
I would like to to only display "12345"
The first section "12345" is the part number, then there is a space and we add in the revsion numbers.
For our overall assembly files it is easier for our operators to only see the part number, not it's latest revision number.
The value for the field is pulled through the expression: <W$=@$PART_NAME>
I hope to be able to use something like splitstring function to tell Nx to stop filling the field h=when it gets to the first space.
Has anyone done anything similar/ have any suggestions?
There are probably a couple of workarounds to this, including using the substring expression function to truncate the filename and push that back into the component as an attribute, or enter the string you want to display as a COMPONENT_NAME attribute on each component and use that attribute to drive the Parts List column. The ideal solution is to implement Part Name Versions. This would allow you to simply use the "$PART_NAME_CORE" system attribute for the column in the Parts List but does require an understanding of regular expressions:
Hi @NotKevin ,
I've created a journal which will create 2 expressions and a attribute (named PartName) in each component which will be used in Parts List. Have tested in Native NX.
Just change extension of attached file to .vb and run it when assembly is active.