Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline kotichaz  
#1 Posted : 10 November 2022 08:27:14(UTC)
kotichaz

Rank: Newbie

Groups: Registered
Joined: 10/11/2022(UTC)
Posts: 3
United States
Location: Idaho

Hello all,

I'm a new member of SMath. Im wondering if it is possible to use combobox to return multiple values from a matrix. Ive attached an image below as an example. If I select 7/16"_8d_6" O.C. I want to have both the 1500 and 15 value return without having to make multiple comboboxes.

Thanks!

Capture.PNG

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 10 November 2022 08:45:12(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Use a nested matrix.

Regards

multicombo.sm (5kb) downloaded 15 time(s).

2022-11-10_08-44.png
thanks 1 user thanked overlord for this useful post.
on 10/11/2022(UTC)
Offline Davide Carpi  
#3 Posted : 10 November 2022 12:40:50(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
You can also use ranged indices to pick any column you need listed in the order you prefer, without any change in the input matrix.

This is an example using either the item row or the item index

2022-11-10 10_39_12-SMath Solver - [Worksheet1_].png

Edited by user 10 November 2022 13:34:00(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline kotichaz  
#4 Posted : 11 November 2022 09:20:18(UTC)
kotichaz

Rank: Newbie

Groups: Registered
Joined: 10/11/2022(UTC)
Posts: 3
United States
Location: Idaho

Thank you guys! This is exactly what I was looking for.

One more question if you don't mind. Is is possible to set the results to a different variable? For example. I want the 1500 value to be "vn" and the 15 value to be "Ga". This way the equations will make more sense if someone is reviewing them.

Thanks!
Offline Davide Carpi  
#5 Posted : 11 November 2022 12:40:34(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Like this?

2022-11-11 10_40_09-SMath Solver - [shething.sm_].png
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline kotichaz  
#6 Posted : 11 November 2022 20:01:42(UTC)
kotichaz

Rank: Newbie

Groups: Registered
Joined: 10/11/2022(UTC)
Posts: 3
United States
Location: Idaho

Yes that is exactly it.
Users browsing this topic
Guest
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.