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

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

Range variable units

TR_9781963
9-Granite

Range variable units

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

TR_9781963_0-1686080585913.png

 

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:TR_9781963)

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

Werner_E_0-1686092885893.png

 


@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

Werner_E_1-1686093229724.png

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:

Werner_E_2-1686093697505.png

 

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.

 

View solution in original post

2 REPLIES 2
ppal
17-Peridot
(To:TR_9781963)

Like this ??

ppal_0-1686086278912.png

 

Werner_E
25-Diamond I
(To:TR_9781963)

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

Werner_E_0-1686092885893.png

 


@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

Werner_E_1-1686093229724.png

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:

Werner_E_2-1686093697505.png

 

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.

 

Announcements

Top Tags