Message 1 of 4
Coding For dropdown in Ilogic Form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am trying to make a parametric in Inventor that allows me to choose Half Lap, Full, Lap or Corner To Corner from a drop down menu in an ilogic form and changes a corner seam value. My current code that I've pasted below will only run the code for the corner to corner. I have tried with and without the multivalue update code and I get the same results. How can I remedy this?
If Style = "HALF LAP" Then Parameter("Corner1") = 0.5 Parameter("Corner2") = 0.5 Parameter("Corner3") = 0.5 Parameter("Corner4") = 0.5 MultiValue.UpdateAfterChange = True Else If Style = "FULL LAP" Then Parameter("Corner1") = 0.2 Parameter("Corner2") = 0.2 Parameter("Corner3") = 0.2 Parameter("Corner4") = 0.2 MultiValue.UpdateAfterChange = True Else If Style = "CORNER TO CORNER" Then Parameter("Corner1") = 1 Parameter("Corner2") = 1 Parameter("Corner3") = 1 Parameter("Corner4") = 1 MultiValue.UpdateAfterChange = True End If