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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Specifiy units for a matrix output

WS_11796812
8-Gravel

Specifiy units for a matrix output

WS_11796812_0-1725553623339.png

Is there any way to set default unit outputs. I'd like it to read Kip*Ft. I've seen people complain about this issue in the past but cant seem to find a solution. I've attached a portion of the sheet. 

5 REPLIES 5
Werner_E
25-Diamond I
(To:WS_11796812)

Unfortunately there still is no satisfying solution available for this problem.

Prime will automatically choose the standard unit according the chosen unit system.

In case of single values or vectors/matrices with all elements the same unit you can override the displayed unit manually.

In case of a matrix with mixed units like yours (torque/moment values and unitless strings) you can't even do that as the units displayed inside of a matrix can't be overwritten.

A few options:

Use symbolic evaluation

Werner_E_0-1725566204877.png

Be aware that this very often will not work as expected. You still have no control over the displayed unit - the symbolics does not know anything about units, treats them as unknowns and uses the exact units you used when you defined the variables.

 

Display the columns of your matrix side by side. So you can manually overwrite the unit in the first column

Werner_E_1-1725566348771.png Werner_E_2-1725566356393.png

 

Create a dimensionless display by dividing by the desired unit. Thats definitely something which should not be necessary when using a unit-aware software

Werner_E_3-1725566475955.png

 

 

thanks, but is there a way when I use the symbolic function to only display to specific number of decimals place? Is seems as if its not allowed

Werner_E
25-Diamond I
(To:WS_11796812)

I won't suggest using the symbolic evaluation for the already mentioned reasons.

If you still insist doing so, you may use the modifier "float" to limit the number of significant digits (not the number of decimals).

Werner_E_0-1725583700586.png
Werner_E_1-1725583707229.png

 

EDIT: I just tried and had to realize that "float" throws an error in your case

Werner_E_2-1725583769291.png

probably because of the simultaneous use of text strings in the same matrix.

So the answer to your question seems to be "no".

 

 

 

Hi @WS_11796812,

 

I wanted to see if you got the help you needed.


If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag 
 

Due to what I'm using it for, I would not consider it a solution. Yes it does display how I'd like but sheets beyond need to be able recognize the units therefore it doesnt work for my use. 

Announcements

Top Tags