SOLIDWORKS IIF equal’s to “the syntax is wrong” error workaround

EmailFacebookLinkedInTwitterShare

    Ever try creating an if-then statement in SOLIDWORKS to control a feature. Well if you ever want to then you need to use the IIF function. Yes there are two I’s.   Background: The syntax of the Visual Basic IIf function is:  iif(expression, truepart, falsepart)   where: ·expression is the expression you want to evaluate ·truepart is the value to use if expression is true ·falsepart is the value to use if expression is false   ex: · The […]

Read More