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?
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
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
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
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
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
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
Thnx,
Best regards,
Pascal,
NX5.04+TC2007 (GM Toolkit) / NX7.5 native
RE: Text linked to an expression
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
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