Transform units

Transform units - Сообщения

#1 Опубликовано: 14.07.2022 15:22:17
Prmtv

Prmtv

0 сообщений из 49 понравились пользователям.

Группа: User

Hello. Can you help me? How not to change the units or how to edit?
Файл не найден.
Thanks
#2 Опубликовано: 14.07.2022 15:50:50
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: User

A great answer here: https://en.smath.com/forum/yaf_postsm75656_Units-and-matrices.aspx#post75656
#3 Опубликовано: 14.07.2022 17:16:50
overlord

overlord

552 сообщений из 1332 понравились пользователям.

Группа: Moderator

If I understood correctly;
You want your units in combobox as it is intended on your matrix.
Well, that is not possible without alterations at the moment.
Actually, if you want an item appear in your combobox, it is common practice to use it as strings.
Using variable as it is can cause your problem, units with its base versions. (m for mm, kg for g, etc)
Outcome of the combobox can be another column as you will see in example below.
You can do it with two ways. You either insert a string column manually.
And you make a new automated matrix (or write over on desired matrix) with string column.
Below there is your example for manual and automated methods.
I have included settings of combobox in their corresponding screenshot.
If this is not your intention, please inform.

Regards

unit_transform.sm (8 КиБ) скачан 21 раз(а).

2022-07-14_23-06.png

2022-07-14_23-07.png
#4 Опубликовано: 14.07.2022 17:59:56
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

If you want the genuine appearance of the units, make use of the expression parsing capabilities of Davides plugins:

unit_transform_Kr.png
unit_transform_Kr.sm (4 КиБ) скачан 26 раз(а).

Generation of the list could be automated but that would not be worth the effort for only a few entries.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Опубликовано: 15.07.2022 15:23:49
Prmtv

Prmtv

0 сообщений из 49 понравились пользователям.

Группа: User

Wrote

If I understood correctly;
You want your units in combobox as it is intended on your matrix.
Well, that is not possible without alterations at the moment.
Actually, if you want an item appear in your combobox, it is common practice to use it as strings.
Using variable as it is can cause your problem, units with its base versions. (m for mm, kg for g, etc)
Outcome of the combobox can be another column as you will see in example below.
You can do it with two ways. You either insert a string column manually.
And you make a new automated matrix (or write over on desired matrix) with string column.
Below there is your example for manual and automated methods.
I have included settings of combobox in their corresponding screenshot.
If this is not your intention, please inform.



for the current task used your manual method. Thanks
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений