In a SOLIDWORKS part model, you need to control the number of instances in a linear pattern based on the overall length of the part. If the overall length, controlled by a global variable "OverallLength", is less than 100mm, there should be 3 instances. Otherwise, there should be 5 instances. Which of the following is the correct syntax for the equation to control the pattern instances?
-
A
"D1@LPattern1" = IF("OverallLength" < 100, 3, 5)
-
B
"D1@LPattern1" = IIF(OverallLength < 100; 3; 5)
-
C
"D1@LPattern1" = IIF("OverallLength" < 100, 3, 5)
-
D
"D1@LPattern1" = IF[OverallLength < 100](3, 5)