Sample code for automation interface in iLogic reference

A sample VBA macro to access iLogic can be found at the following location:

In the sample code, the GetiLogicAddin function demonstrates how to access the iLogic Automation object in VBA or VB.

This sample code, written in Inventor VBA, drives the value of a text parameter. It requires that a text parameter named text0 exists in the current Inventor model. It also lists all the rules in the model.

Use iLogicAuto.ParamValue to get or set the value of a parameter. Internally, it uses the iLogic Parameter property.

Refer to Configure iLogic options for more information on the automation interface.