format a string in drawing
format a string in drawing
(OP)
I have string on a drawing controlled from an attribute and want to hide the last six characters from display.(nx8). Any format controlling available?
regards
regards
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
format a string in drawing
|
RE: format a string in drawing
RE: format a string in drawing
In the expressions I have:
Kg_weight = (MakeNumber(ug_askPartAttrValue("weight (kg)")))
Then the applied attribute is: "Insert Annotation-->Note", Relationships, "Insert Expression"
<X0.2@Kg_weight> Kg
This takes the weight of 44.7849000000000 and shows 44.78 Kg on the drawing
RE: format a string in drawing
yes and no my text attribute is a combination from date and time. I want to get rid of the time portion of the string
RE: format a string in drawing
CODE
This will return the DateTime string variable, minus the last 6 characters. Use this new expression for your note.
www.nxjournaling.com
RE: format a string in drawing
maybe a way to do it, are there no formating tricks from the note editor?
RE: format a string in drawing
http://www.eng-tips.com/viewthread.cfm?qid=228567
RE: format a string in drawing