Autodesk Inventor: Automatic subtitle filling with ilogic

Parametric CAD software is increasingly a reality in the various areas of Industrial Engineering.
We follow new releases year after year, new commands and new possibilities within this gigantic universe.

The most diverse updates and improvements, largely, add to the user ways to achieve, with higher quality and speed, solving your needs.

Within this context, Autodesk has implemented in the latest versions of Inventor, the illogical tool. ilogic made programming new features simple within Inventor, making program customization for end users a reality.


This tool has opened up an infinite range of possibilities for developing new applications for Inventor. Just like Autolisp is to AutoCad, illogic is for the inventor.

We present, through the illogic application, a solution for autocompleting the legend in the design detail, based on iproperties from *.iam or *.ipt files.

in the figure below, you can check out a simple caption template, highlighting already entered model properties:

In the next figure the situation of the original legend, no part or assembly drawing:

The developed program considers the project of an equipment organized by folders with the following structure:

  • UNIT: (Ex)  03-Conveyor belts
    • EQUIPMENT: (Ex)  F-03-07 Conveyor belt 30"x22500
      • COMPONENT: (Ex)  F-03-07-003 Captor Door Clamp

Respectively, the unity, EQUIPMENT AND COMPONENT must be existing folders, that will support the presented structure. In the example above, the files path would adopt the following sequence:

  • c:\Folder01...Random number of folders...3-Conveyor BeltsF-03-07 Conveyor belt 30"x22500F-03-07-002 Main structure

the last folder (F-03-07-003 Captor Door Clamp), is where the component assembly drawing should be located, in this case: F-03-07-003 Captor's Door Clip.iam

Below the image of the component assembly inserted in the detail sheet, as well as the fields used by the code developed with the automatic filling of the legend:

Obeying this formatting, the code will automatically populate the following fields from the iproperties of the *.iam file:

  • UNIT: [File property auto-populated: ("Summary", "Title")]
  • EQUIPMENT: [File property auto-populated: ("Summary", "Subject")]
  • DRAWING: [File property auto-populated: ("Project", "Part Number") & ("Project", "Description")]

Images of *.iam file properties:

At the moment the complete code is available for Level Members 3 [N3 da FP].

Member Level 3 (N3 FP): make yours login and access the download of the complete code below.

Member Level 0: make yours login or registration and access the partial download of the code below (Completion of the Description and Drawing Number)

To use the code, configure your caption according to the fields presented in the first image of the article.


For install:

  1. Close all Inventor files;
  2. Open the *.iam template you use for new assemblies;
  3. Navigate to menu "Manage" and click on "Add Rule";
  4. Enter the name for "Rule";
  5. Copy the code above and paste it into "Rule" that you just created;
  6. Close the window and Navigate again to the menu "Manage" and click on "Event Triggers";
  7. Select "Before Save Document" and click on "Select Rules..."
  8. Select the rule with the name you just created and close the windows in "OK"
  9. save the file.

I would like to use the code above modifying the configuration? Contact us and ask for a quote!

And for today it's just!

Autodesk Inventor: Automatic subtitle filling with ilogic
scroll to top