Message 1 of 13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write an iLogic rule for an angle constraint that has a slider in the Form, that says if "X" option is chosen then the angle can only be between 20º and 179º, but if the option is "Y", then the angle can be any number between 181º and 340º (below is what I tried)
If Handrail_Style = "Straight" Then Parameter("L2A") = 180 Parameter("L3A") = 180 Else If Handrail_Style = "L Shape" Then Parameter("L2A") = <=20 And >=179 Parameter("L3A") = 180 Else If Handrail_Style = "C Shape" Then Parameter("L2A") = <=20 And >=179 Parameter("L3A") = <= 20 And >= 179 Else If Handrail_Style = "S Shape" Then Parameter("L2A") = <=20 And >=179 Parameter("L3A") = <=181 And >=340 End If iLogicVb.UpdateWhenDone = True InventorVb.DocumentUpdate()
Solved! Go to Solution.