Add Rule dialog box

Define a new rule, or change an existing rule.

Access:

Ribbon: Manage tab iLogic panel Add Rule

Snippets

Lists reusable pieces of code. Double-click a snippet to insert it in the rule.

System tab

Lists iLogic snippets provided with the installation.

Displays only those snippets identified as favorites.

Displays a dialog box used to identify favorite snippets.

Custom tab

Lists snippets you create or copy from the System tab.

Saves the snippets file

Saves the snippets file to a different name.

Replaces all snippets in the list with snippets from a file.

Merges snippets in the list with snippets from a file.

Displays file information for snippets in the list.

Model

Presents a model view of a part or drawing, or a component view of an assembly.

Parameters

Lists the parameters based on the Parameter Type selected in the tree.

Names

Cumulatively lists items from the tree as you select them.

Clear List Click to remove the items from the list and start over.

File Tree

Presents a file view of an assembly, instead of the component view shown on the Parameters tab. Use this view to find objects quickly under part and assembly names.

Files

Lists the names of the part files in an assembly. Use this view to copy file names for use in a rule.

Options

Determines the behavior of the rule, along with certain characteristics of the rule appearance.
 

Behavior of this Rule

Suppressed Prevents a rule from running automatically.

Silent Operation Runs a rule without displaying the Inventor dialog boxes by automatically selecting the default responses.

Fire dependent rules immediately For other rules that run because they refer to a parameter that this rule changes, run them as soon as the parameter value changes. Avoid waiting until this rule finishes.

Don’t run automatically Prevents the rule from running in response to parameter changes.

Straight VB code Identifies this rule as code that can be shared between rules.

 

Rule Editor

Select Font Selects the font for the rule text.
 

Capture Syntax

Use component names Convert parameters into Parameter syntax automatically, using the component name.

Search and Replace

Finds a string in the current rule, and optionally replaces the string with another string.

Find what

Enter a string to search for.

Replace with

Enter a string to replace the original string with.

 

Match Case

Select to distinguish between lower case and upper case characters.
 

Match whole word only

Select to find only the exact character string. Does not match if it is found within a longer word.
 

Find

Find an occurrence of the string.
 

Find Next

Find the next occurrence of the string.
 

Find Previous

Return to the previous occurrence of the string.
 

Replace

Substitute the found string with the specified replacement string.
 

Replace All in This Rule

Substitute all occurrences of the found string in the current rule with the specified replacement string.
 

Replace All in All Rules

Substitute all occurrences of the found string in all rules with the specified replacement string.

Wizards

Lets you choose from several task-based wizards.

Create Rule for a Dialog

Creates a rule for a custom dialog box based on model parameters.

Message Box

Creates a rule that generates a message box.
 

Capture Current View

Creates a rule that captures the current screen view.
 

Parameter Limits

Creates a rule that displays diagnostic messages when parameter values are outside of a specified range.

Editing Toolbar

Includes tools for working with iLogic rules..

Print

Prints the text of the current rule.

Page Setup

Determines the page setup to print rule text.
 

Cut

Removes selected rule text and places a copy on the clipboard.
 

Copy

Places a copy of the selected rule text on the clipboard.
 

Paste

Pastes a copy of the rule text from the clipboard at the cursor location.
  Redo Reapplies the effects of the last editing function.
 

Undo

Removes the effects of the last editing function.
 

Increase Indent

Adds space to the left of the current line.
 

Decrease Indent

Removes space to the left of the current line.
 

Comment out the selected lines

Changes the selected line of rule text to a comment.
 

Uncomment the selected lines

Removes the comment tag from a commented line.
 

If...Then...End If

Displays a drop-down list used to insert a selected conditional statement.
 

Keywords

Displays a drop-down list used to insert a selected keyword.
 

Operators

Displays a drop-down list used to insert a selected operator.
 

Help

Displays the Help for this dialog box.
 

OK

Adds the rule.
 

Cancel

Cancels the operation.