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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

programming question.

elund
5-Regular Member

programming question.

Hi,

I want to have several parameters take on different values depening on material selection. I have been unable to use text in if statements so far. The best would be if the user could select the materials from a set of selections. So far I have done it bu using an embedded excel sheet and doing the input in there, but I am not happy about it. Do anyone have an elegant solution for this?

For example:

Material="S355"

a=2

b=3

c=4

Material="316L"

a=0.5

b=1

c=5

etc...

any help is much appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Espen.

Attached one option, there are a lot of others.

Best regards.

materials.gif

View solution in original post

7 REPLIES 7

Hi Espen.

Attached one option, there are a lot of others.

Best regards.

materials.gif

elund
5-Regular Member
(To:AlvaroDíaz)

thank you

ViktorKorobov
13-Aquamarine
(To:elund)

Alternative solution:

Insert->Control->WebControl->List box/combo box

WebContr.png

Viktor

Viktor
elund
5-Regular Member
(To:ViktorKorobov)

I am actually using PTC Mathcad Prime 3.1. Such a solution as you presented is what I prefer, but I am not sure it is possible in prime. Or at least, I have not found a way to make a list where the user can select the desired input.

nas0k
7-Bedrock
(To:elund)

Someone posted this example recently, which may be useful.

Norm

elund
5-Regular Member
(To:nas0k)

This is a good solution, thanks!

VladimirN
24-Ruby II
(To:elund)

In Prime 3.1 version there are no active control components.

Top Tags