Skip to main content
1-Visitor
Sep 28, 2024 5:48 AM UTC
Question

Mathcad Prime List Box

Hi,

I have encountered a problem. Normally, I know how to prepare a list box, but in this instance, I need to create a dynamic list box such that input from another list box influences it.

 

Specifically, I need to create a list box asking for the “Bolt Type,” but for that, I need two inputs, similar to a real case scenario: Bolt types depend on “Standard” and “Unit System.” Please find the attached image that I saw in a PDF.

 

Please help me to create this in Mathcad Prime. Thanks in advance.

 

The image:

GG_11924958_0-1727502067686.png

 

3 replies

Werner_E
25-Diamond I
Sep 28, 2024 10:56 AM UTC

You can provide multiple inputs in two different ways:

1) use a vector for input. The elements of it are

 

 

Inputs[0].Value[0]
Inputs[0].Value[1]
etc.

 

 

2) use multiple individual Inputs. How to achieve that is not implemented intuitive as the right click options won't provide a "Add another input". You have to use the "Insert Right" option from the "Matrices/Tables" menu or the keyboard short "Shift - Space". In the script the inputs can be used as

 

 

Inputs[0].Value
Inputs[1].Value
etc.

 

 

BTW, it looks like the picture you show does not stem from a Prime sheet but rather from a real Mathcad worksheet.
If you have access to the worksheet itself and not only to a pdf print, you may try to let Prime convert it to the new format. At least it may be wort a try though I have my doubts if the converter wold be capable enough.

 

Translate
terryhendicott
21-Topaz II
Sep 28, 2024 3:23 PM UTC

Hi,

You can use this sheet as an example of cascading list boxes.

Translate
4-Participant
Dec 30, 2025 10:42 PM UTC

I downloaded this sheet to watch the associated webinar and noticed that the list box doesn't work in Prime 11.0. Have you noticed that and do you have any ideas on what the difference between 10 and 11 is?

Translate