Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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.
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
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
Create a dimensionless display by dividing by the desired unit. Thats definitely something which should not be necessary when using a unit-aware software
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
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).
EDIT: I just tried and had to realize that "float" throws an error in your case
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.