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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Specifiy units for a matrix output

WS_11796812
4-Participant

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. 

3 REPLIES 3
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

 

 

WS_11796812
4-Participant
(To:Werner_E)

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".

 

 

 

Announcements

Top Tags