×
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

Text linked to an expression

Text linked to an expression

Text linked to an expression

(OP)
Hi guys,

I am in NX7.5

is it possible to create a Text(in modeling) that is linked to a Expression?
That Expression has a value, f.e. the value is 875 and I want to have this 875 to be seen as text in my modeling environment and have it updated when this value changes...

Possible and if so, ho to do this?
 


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native

RE: Text linked to an expression

You will need to add the note onto your model while in "Drafting" so go into "Drafting" and go into your model space by toggling View > Display sheet
Add the note and link it to the expression using "relationships"
in the note menu:
text input menu (expand) > symbols > catagorey change to relationships > you should be able to figure it out from there

RE: Text linked to an expression

Are you talking about 'Modeling' TEXT as in...

Insert -> Curve -> Text...

...or the text that you create while you're the Drafting module?

 

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
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.
 

RE: Text linked to an expression

(OP)
Hi all,

it is within Modeling, so John you are correct it is the Function:

Insert -> Curve -> Text ...

I now there is an Option to select Reference Text, and if I select this Options, I can Create a "String" Type Expression, where the Expression is: Hmax=875
The Text that is being created gives met the Name of my Exprssion, in this case th Text is Hmax


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native

RE: Text linked to an expression

I believe that Jerry1423 is refering to the "trick" where you add drafting dims and notes in modeling space.

From your model first you launch the drafting module.

next you either cancel the "create sheet" option or if you already have a sheet created, you select "View > Display sheet" and you'll pop back to the model view.

Now you add all your dims, notes and symbols in model space using the drafting tools.

I think thats what he means...
J

NX 6.0.5.3

RE: Text linked to an expression

(OP)
Hi Jaydenn and Jerry,

It is not what you explain, these things I know, it is in the MODELING function, that you can enter a Text.
Just as John and I stated in my First reply.

Other functions I know, certainly after 15 years of UG winky smile

Thnx,


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native

RE: Text linked to an expression

You have to first convert your numerical value into a String.  If the desired result is an Integer, the 'String' Expression would look like...

Hmax_string = format("%d",Hmax)

...  However, if the desired result is a floating point number, then the 'String' Expression would look like...

Hmax_string = format("%0.3f",Hmax)

...where the '3' in "%0.3f" controls the number of decimal places in the resulting 'String'.

Once you have a string Expression, this is the one you 'Reference' when you create your 'Modeling Text'.

BTW, you can see all of the various string formatting commands in the NX Help files.

 

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
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.
 

RE: Text linked to an expression

(OP)
Thank you very much John!!!

It works so smoothly now...
I now realise how and what this "format" formula works.
I must admit an example is much easier to understand than going through the Documentation.

Thnks


Best regards,

Pascal,

NX5.04+TC2007 (GM Toolkit) / NX7.5 native

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