Trimble Business Center

 View Only

 Looking for Conditional corridor instruction setup for "AND" condition

Tylor Foster's profile image
Tylor Foster posted 02-21-2023 15:07

I've got a corridor I am modeling with conditional statements. Based on the factors I am coming to the conclusion I need an IF then AND statement to test two conditions at the same time.

Has anyone come across this?

I've attached a working PDF of the x-sections showing the 4 cases and what I am trying to accomplish. Thank you in advance for any insight!

Attachment  View in library
Wayne Welshans's profile image
Wayne Welshans

You can accomplish the same effect of an AND statement by putting an IF condition nested inside another IF condition.  So you can say:

IF (x is true)

     IF (y is true)

          'instructions that will occur when x and y are both true'

     ENDIF (y)

ENDIF (x)