Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Parameter Max Rule

ASchlaack
Collaborator

Parameter Max Rule

ASchlaack
Collaborator
Collaborator

I have a form to adjust a parameter that has a max value of 240 in. How can I write a rule to not let anything higher than that be entered and have a message box come up saying that a value thats too high was entered?

Thanks,
Aaron Schlaack
---------------------------------------------------------------------------------
Autodesk Inventor 2018
Dell Windows 8.1 64 bit Intel(R) Xeon(R) @ 3.50GHz 32GB Ram
0 Likes
Reply
Accepted solutions (1)
533 Views
1 Reply
Reply (1)

mrattray
Advisor
Advisor
Accepted solution
If myParameter > 240 Then
   msgbox("Value too high",vbOKOnly,"No dice")
   myParameter = 240
End If

 

Mike (not Matt) Rattray