Inventor 2015 - iLogic – Run Rule with Single Click

Zen Admin
Zen Admin

by Luke Davenport

Problem:

You have created some iLogic rules, but running them with a right click ‘Run Rule’ is cumbersome and you’d like to be able to run a rule with a single click. Is this possible?

 

Solution:

Yes indeed it is nice and simple. Here’s my handy iLogic rule for reminding me of my name and employer on my return from summer holidays:

 

MessageBox.Show("You are " & ThisApplication.UserName() & vbLf & "You work for " & _

iProperties.Value("Summary", "Company"), "Handy Info",MessageBoxButtons.OK, MessageBoxIcon.Information)

I can add this rule as a button by heading over to the ‘Forms’ tab, right clicking and hitting ‘Edit’

Then I can pick the rule(s) in question and drag it/them to the right to add them as a button. I can also add an image and a tooltip to the button if required.

I’ve chosen a suitable image

Then I can run this rule with one click from the ‘Forms’ tab – and be prepared for any demanding questions.

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.