I need to put the following into equation form to plug into a User Parameter:
if d91 falls in the range of 4" to 11"
then d92 = d91 + 2"
else d92 = 7.5"
For some reason, I can't seem to wrap my head around this one.
Thanks in advance!
Solved! Go to Solution.
Solved by cwhetten. Go to Solution.
Thanks, Jeff! I'm still learning Inventor, and had not used iLogic yet. I appreciate the nudge in that direction!
iLogic is going to be the way to go. This is a simple rule to create. On your manage tab, click the "Add Rule" command, and give your rule a name (whatever you would like).
Type your rule to look like so, or copy and paste:
If d91 >= 4 And d91 <= 11 Then d92 = d91 + 2 Else d92 = 7.5 End If iLogicVb.UpdateWhenDone = True
This will give you what you seek.
iLogic is a very powerful tool, and it is definitely worth investing some time to learn.
Edit: It would also be good to get into the habit of naming your critical parameters so that they are easier to find and use in iLogic.
Yep. That's what I came up with, after Jeff nudged me in the iLogic direction. I appreciate your time, too.
iLogic is a great way to go. A solution for the parameter only approach (Done with just user parameters)