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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Identify variable with maximum value

ppal
17-Peridot

Identify variable with maximum value

ppal_0-1720586505506.png

 

3 REPLIES 3
LucMeekes
23-Emerald III
(To:ppal)

Use

match( max( augment( A, B, C)), augment( A, B, C))

And inspect the vector of results.

 

Update:

See attachment

 

Success!

Luc

MartinHanak
24-Ruby II
(To:ppal)

Hi,

I was curious and tried Luc's solution.

MartinHanak_1-1720595413224.png

 

 


Martin Hanák
Werner_E
24-Ruby V
(To:ppal)

You may also omit the "augment" function in "max" when using Luc's solution.

Werner_E_0-1720602862400.png

 

Depending on which way you need the result, you may turn it into a function.
Unfortunately there is no way we could automatically access the name of a variable.

Werner_E_1-1720602943366.png

 

Prime 10 sheet attached

 

Top Tags