×
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

(NX5) is there something unique about the expressions variable "r"?

(NX5) is there something unique about the expressions variable "r"?

(NX5) is there something unique about the expressions variable "r"?

(OP)
I am playing around with Expressions to create function-controlled curves.  I noticed when I define a variable "r" (to stand for "radius") and open the spreadsheet editor, it places an underline in front of it, like this: "_r".  this doesn't seem to happen with other letters.  Is "r" a reserved variable or something?  

RE: (NX5) is there something unique about the expressions variable "r"?

I can only test this back to NX 1 (and it behaves there just like it does in the latest version of NX 6), but since we've supported accessing the spreadsheet from the expression system since at least Unigraphics V 16.0, I suspect that it has always worked this way.  Now I can't find any obvious issues, like some spreadsheet function with that name.  I even opened Excel by itself and I have no problem using something like an 'r' in a cell, where as, if launched from the expression system any expression starting with the letter 'r' (upper of lower case) will end up in the spreadsheet with an underscore being placed ahead of the that first 'r'.

However, I'll check with the developers and if I learn anything, I'll pass it along.

John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

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