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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

programming question.

elund
8-Gravel

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.

ACCEPTED SOLUTION

Accepted Solutions
AlvaroDíaz
12-Amethyst
(To:elund)

Hi Espen.

Attached one option, there are a lot of others.

Best regards.

materials.gif

View solution in original post

7 REPLIES 7
AlvaroDíaz
12-Amethyst
(To:elund)

Hi Espen.

Attached one option, there are a lot of others.

Best regards.

materials.gif

thank you

ViktorKorobov
14-Alexandrite
(To:elund)

Alternative solution:

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

WebContr.png

Viktor

Viktor

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
12-Amethyst
(To:elund)

Someone posted this example recently, which may be useful.

Norm

elund
8-Gravel
(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.

Announcements

Top Tags