I would say …
IF isFirstRun THEN execute code.... ENDIF
At least this is what has been mentioned in other posts about it.
I think it may be a little confusing and ‘isfirstrun’ only gets a value when it is the first run.
I am not sure if it gets a higher value on multiple parameter script runs.
I still don’t understand your code.
ProHeight = abs(_yMax - _yMin) SquareV2 = ProHeight / ( cos(phi) )
SquareV2 still has nothing to do with the first bit of code you posted.
Versions 6.5 to 22
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit