Table of contentsNo headers
What is an iTrigger?
iTrigger refers to an Inventor user parameter that you can include in the current document to fire rules manually. This parameter is frequently used to launch a dialog box from a rule. The dialog box provides a custom interface to define design parameters.
How does an iTrigger work?
The iTrigger command creates an Inventor user parameter named iTrigger0 in the document being edited. If the parameter exists in the document, the command increases the value of this parameter by 1 and fires any rules containing the iTrigger0 parameter.
After you use the iTrigger command to create the iTrigger0 parameter, add the following line in a rule to fire it when the command is used again:
trigger = iTrigger0
Use iTriggers to run rules
Create an iTrigger parameter
- Close the Edit Rule dialog box if it is currently open.
- On the ribbon, click .
Enable a rule to be triggered
- Open the rule in the Edit Rule dialog box.
- Add the following line:
- Save the rule and close the Edit Rule dialog box.
Trigger a rule manually
To run a rule that references the iTrigger0 parameter, on the ribbon, click .
NoteIt is possible for multiple rules to run when the iTrigger button is clicked. Any rules that reference the iTrigger0 parameter are run.
Use the iTrigger command to create an iTrigger0 parameter in the current document and fire any rules containing the iTrigger0 parameter.