Hmmmm...
if(not(line size < 2"), line size + 2", line size) @Alfredo_Medina
if(line size < 0' 2", line size, line size + 0' 2") @ToanDN
I believe both are correct statements to achieve the same end result...well They give the same output..., one says if it is not less (i.e.: only greater) do something and the second says if it is less do nothing!!!
However, The OP is variating the width by +2" to its original value and not to the line size i.e.: width cannot be equal to width + 2" (circular chain)
@Anonymous wrote:
Is there a formula for a parameter if a pipe size is larger than a certain size it will add length to the current value to make the length longer?
Example,
Line size is 1.5" and I have a width of 2" and need to add 2" to width if line size becomes 2" or larger.
- An additional parameter should be added to control width
- Parameter "Width" for the user to input value
- Parameter "Width_CTRL" which labels the dimension on the drawing (i.e.:controls width of the pipe placed in the model
- use any of the above formula formats amended as follows
- Width_CTRL = if(not(line size < 2"), Width + 2", Width)
- Width_CTRL = if(line size < 2", Width, Width + 2")
=> user inputs both values or both values are given (Line size and Width)....formula compares and amends Width_CTRL in the model
or at least that's how I understand the request