NX How does Feature Templates work if there's the same expression in target part?

2023-10-30T12:46:25Z
NX for Design

Summary


Details

When you add a feature template to a target part that has a user expression with the same name as an expression being used in your feature template, it would use the value in the target part, not the one in the feature template. This seems specifically true if the feature template‘s expression is being used in another formula expression.

1. Create a new part

2. Create a user expression named "Material_Multiplier" with a constant number value. (i.e. 3)

3. From Reuse Library, setup and insert a Feature Template that has "Material_Multiplier" expression to the target part.

4. Feature Template uses “3” in the target part instead of value inside Feature Template.

Platforms
  • na windows-1064
Release Versions
  • NX V2206.5000
Solution

The behavior is working as designed.

If you have the same expression in the target file, NX would use it and ignore the one in the template. 

The WA is to  edit the template to add expression Material_Multiplier. 

In Reuse Library--> Select the member from your Feature Template

-->Rm -->Edit--> Select Configure User Interface in the Feature Template ribbon toolbar:


Under Template Objects (in Template Studio Navigator) -->Expressions

--> Select Material_Multiplier -->Rm -->Add -->Finish -->Save the template


This WA only works in NX2312.

Notes

KB Article ID# PL8738310

Contents

SummaryDetails

Associated Components

Modeling