To Configure iLogic Options

You can configure the location for external rules and DLL files, access an automation object, disable DoubleForEquals, and display iLogic version details.

Configure location for external rules and DLL files

  1. On the ribbon, click Tools tab Options panel iLogic Configuration.
  2. Click next to External Rule Directories to add a folder to the list, and use the up and down arrows to define the search order.
  3. Choose a file extension in the Default Extension for External Rule Files field. Select the folder containing code from other .NET assemblies in the iLogic Addin DLLs Directory field.
    • .vb files can be edited in Visual Studio.
    • .txt files can be edited using a text editor such as Microsoft Notepad.
    • .iLogicVb indicates that the file contains standard iLogic rule code to be preprocessed by iLogic.
  4. To export an iLogic configuration: Export Enter the file name or select an existing file to replace Save.
  5. To Import an iLogic configuration: Import Locate file to import Open.
  6. Click OK.

Access automation object

To access the automation object from an iLogic rule, use the property iLogicVb.Automation.

The automation object implements the interface Autodesk.iLogic.Interfaces.iLogicAutomation. Documentation for this interface is provided in Autodesk.iLogic.Interfaces.xml.

Disable DoubleForEquals

DoubleForEquals is the default type for all Inventor parameters used in rules.

Use the following statement at the beginning of a rule to disable this setting:

iLogicOption DoubleForEquals Off

This statement is like the standard Visual Basic Option statement.