Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking a text feature to the part name in NX12

Status
Not open for further replies.

bsief

Mechanical
Nov 19, 2019
2
I am trying to link the file name of a part to the text feature within the part. We do this to add the stamped fixture number to every part. Our file names are layed out as "Fixture_MA-XXXXXX-XX.prt" and I would like to remove the "Fixture" and the ".prt". Currently I am trying to use the following sample as a formula in the text input area

last(splitstring(first(splitstring(ug_askcurrentworkpart();"."));"_"))

This works but it does not update the text or the value of the formula within the expressions if the file is renamed. The attachment shows when the formula was put in the expressions when the file was named "Fixture_MA-444444-44.prt" and then renamed into "Fixture_MA-444444-45.prt" but the text and the value of the formula never updated.

Can Anyone help with this?
 
 https://files.engineering.com/getfile.aspx?folder=e4bd3c0e-2f93-4f22-9088-c4ff9633fa2b&file=Capture.PNG
Replies continue below

Recommended for you

You have to run the "Update for external change" This will get the new value
You can find that in Menu-Tools-Update-


Ronald van den Broek
Senior Application Engineer
Winterthur Gas & Diesel Ltd
NX9 / TC10.1.2

Building new PLM environment from Scratch using NX12 / TC11
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor