Rank: Advanced Member Groups: Registered
Joined: 12/02/2018(UTC) Posts: 62 Location: Belém Was thanked: 7 time(s) in 6 post(s)
|
Hello!
If I have a slider or checkbox, is there a way to define the units for my output variable directly on the settings?
I can handle units outside those just fine, but I'd really like to get my variables with their units right from the boxes.
Sorry if it's a stupid question.
Thanks in advance!
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,654 Location: Italy Was thanked: 1340 time(s) in 879 post(s)
|
hello JoãoBR, is not possible, neither for visualization inside the control itself. One day, maybe (need to figure out something to be applied in generic cases, mixed units in the input matrix) |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 12/02/2018(UTC) Posts: 62 Location: Belém Was thanked: 7 time(s) in 6 post(s)
|
Thank you, Davide. It's really a pitty.
Let me ask you this, then:
I want a variable like "fck" in MPa, and build a slider to set something like "Set_fck", how could I make "fck" get "Set_fck" numerical value but keeping it in MPa?
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 278 Was thanked: 91 time(s) in 57 post(s)
|
Is this what you're asking for? fck.sm (3kb) downloaded 64 time(s). |
|
2 users thanked alyles for this useful post.
|
on 13/02/2018(UTC), on 13/02/2018(UTC)
|
|
Rank: Advanced Member Groups: Registered
Joined: 12/02/2018(UTC) Posts: 62 Location: Belém Was thanked: 7 time(s) in 6 post(s)
|
Yes, alyles, that's it, but I can't do it for some reason.
I've tried typing the apostrophe and using the CRTL+W shortcut, but the unit selection option just doesn't appear.
These methods work just fine when I create a new variable.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 12/02/2018(UTC) Posts: 62 Location: Belém Was thanked: 7 time(s) in 6 post(s)
|
Done it! CTRL+W and using the apostrophe did not work, but *MPa+TAB did the job.
Thank you all
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.