×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Variable formula (in expression)

Variable formula (in expression)

Variable formula (in expression)

(OP)
I've been searching for, and trying to, determine wether it's possible to use variable formulas in NX(6).

The thing I want to do, if possible, is to use an expression to control another formula. This is to allow the modification of one expression to control a number of other expressions.

For example:
I'm working with a template to generate stage dependent components for a turbine. For each stage I'm using interpart link to "collect" the data that defines that stage. An expression can look like:
rotor_diameter = "data_prt"::ST11_rotor_diameter
where ST11 tells me which is the current stage.

What I want to do, if possible, is to set the prefix "ST11" as an expression so that I can change all expressions containing that prefix by changing the prefix expression instead of changing every expression containing STxx...

stage=ST11
rotor_diameter = "data_prt"::"stage"_rotor_diameter => "data_prt"::ST11_rotor_diameter
stator_diameter = "data_prt"::"stage"_stator_diameter => "data_prt"::ST11_stator_diameter

While
stage=ST12
rotor_diameter = "data_prt"::"stage"_rotor_diameter => "data_prt"::ST12_rotor_diameter
stator_diameter = "data_prt"::"stage"_stator_diameter => "data_prt"::ST12_stator_diameter


I've succeded in creating this as a string value, but I can't find a way to use the string value as formula in the next expression...
Are there any way aroud this inside of NX, or do I need to do this on the "outside"?  :)

 Best regards
  /Lars

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources