Global Parameter expression problem

2 posts / 0 new
Last post

I thought this would be fairly simple. I have two global paramaters:
PARAMETER
"EXT-MAX" = 0.9 ..

PARAMETER
"EXT-MIN" = 0.05 ..

Simple enough but then in a User expression, I want to take the average of the two.

The input dialog doesn't seem to provide a way to define this simply:
#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN") is allowed but I can't find the right symbol to enclose that expression then divide by 2:

{#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN")} / 2 - gives an error

(#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN")) / 2 - gives an error

#PA("EXT-LTG-MAX") / 2 + #PA("EXT-LTG-MIN") / 2 - works but I don't like it.

Christopher Jones, P.Eng.
Tel: 416.644.4226 * Toll Free: 1.888.425.7255 x 527

Chris Jones
crollinjones's picture
Offline
Joined: 2013-12-12
Reputation: 0