Hi,
I have a parameter with options A, B or C and if the parameter is set to either A or B then another True/False parameter should be set to False.
I've tried this
SyntaxEditor Code Snippet
If WallFront = "A" Or "B" Then FlangeFront = False Else FlangeFront = True End If
WallFront is a multi-value text parameter.
FlangeFront is a true/false parameter
but get error "Conversion from String .... to type 'Boolean' is not valid". Is this possible to do and if so what am I doing wrong?
Best,
Fredrik
Solved! Go to Solution.
Solved by Curtis_Waguespack. Go to Solution.
Hi fredrikjohan.carlsson,
Try this:
If WallFront = "A" Or WallFront = "B" Then FlangeFront = False Else FlangeFront = True End If
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Can't find what you're looking for? Ask the community or share your knowledge.