Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I searched through old posts about units and such but didn't find anything pertaining to my situation.
I have a model that is in our standard units (in-lb-sec).
Within this part file, I have also defined a custom unit GSM = grams per square meter (mass per unit area).
I need to use a text string to represent this calculated value, but when I attempt to define it via:
txtGSM = ITOS ( calculatedGSM )
I get a blank string even though the calculated value is 456 GSM. This is because the value that is being used for the ITOS "calculation" is being used in units of pounds per square inch, and the conversion is 1 GSM = 1.4194E-06 lb/in2.
The work around is to (obviously?) convert the value using the above factor. Is there a way to specify the units of the value that is to be used in the ITOS function or any other function? I tried the following:
txtGSM = ITOS ( calculatedGSM[GSM] )
but got an error. Is there a magical incantation I'm missing?