cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Custom units in relations

KenFarley
21-Topaz I

Custom units in relations

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?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements


Top Tags