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
Prime is not allowing to change the units with the range variable getting error message
For example in the evaluation I am getting unit as m but i want to change to in or cm it does not allow
Solved! Go to Solution.
First let me say that I think it would be a good idea to close your four unfinished/unclosed threads.
Concerning your new question - see my answer in the other thread you opened!
https://community.ptc.com/t5/Mathcad/This-value-must-be-a-scalar/m-p/877486/highlight/true#M206809
@TR_9781963 wrote:
Prime is not allowing to change the units with the range variable getting error message
No, its not a range variable. You are using the undocumented trick I showed you in the other thread and already converted the range into a vector. As you see in the comment in the file I posted, Prime won't allow you to change the displayed unit in the region you use this undocumented trick - it is always displayed in the default unit used by the unit system you have chosen.
If you set the unit system to USCS instead of SI, you of course will see feet
If the unit system should be SI, you have to accept the the undocumented range to vector trick won't allow you to change the displayed unit.
You can always minimize the displayed vector and display the assigned variable in a separate region as Terry has shown.
If its for clean documentation, you can make use of a collapsed area in which the range-vector conversion is done after you defined the range:
And of course you must not make use of this trick but can use a more "legal" way to create the vector (as shown in the other thread.
Like this ??
First let me say that I think it would be a good idea to close your four unfinished/unclosed threads.
Concerning your new question - see my answer in the other thread you opened!
https://community.ptc.com/t5/Mathcad/This-value-must-be-a-scalar/m-p/877486/highlight/true#M206809
@TR_9781963 wrote:
Prime is not allowing to change the units with the range variable getting error message
No, its not a range variable. You are using the undocumented trick I showed you in the other thread and already converted the range into a vector. As you see in the comment in the file I posted, Prime won't allow you to change the displayed unit in the region you use this undocumented trick - it is always displayed in the default unit used by the unit system you have chosen.
If you set the unit system to USCS instead of SI, you of course will see feet
If the unit system should be SI, you have to accept the the undocumented range to vector trick won't allow you to change the displayed unit.
You can always minimize the displayed vector and display the assigned variable in a separate region as Terry has shown.
If its for clean documentation, you can make use of a collapsed area in which the range-vector conversion is done after you defined the range:
And of course you must not make use of this trick but can use a more "legal" way to create the vector (as shown in the other thread.