Skip to content

javilesm/iLogic_Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ iLogic_Tools

A collection of automation iLogic scripts for Autodesk Inventor designed to streamline repetitive tasks, optimize assemblies, and manage Bills of Materials (BOM) efficiently.

📦 Included Tools

1. Massive_Simplifier (Multiple Simplified Part Generator)

Automates the process of exporting an active assembly (.iam) to multiple simplified part files (.ipt). It uses the derive function (Shrinkwrap/Simplified Part) to merge the entire assembly into a single solid body without seams.

✨ Key Features:

  • Batch Automation: Define the exact number of copies to generate from the base model.
  • Sequential Naming: Automatically assigns a custom prefix, followed by a two-digit numerical suffix (e.g., SIDEWALL_01.ipt).
  • Dynamic Path Selection: Opens a Windows dialog box to visually select the output directory.
  • Background Processing: Parts are generated and saved invisibly, optimizing processing time.

🚀 Usage:

  1. Run the rule and enter the total number of copies.
  2. Enter the base text or prefix.
  3. Select the output directory.
  4. Process runs in the background with progress shown in the status bar.

2. MassiveDenote (Multiple Part Denoter)

Mass "demotes" individual part components from the root of an assembly document into newly generated individual subassemblies.

✨ Key Features:

  • Pre-execution Validation: Ensures the main assembly is saved.
  • Isolated Inventory Collection: Scans and collects components safely before modification.
  • Spatial Alignment & Grounding: Positions the part preserving its exact absolute coordinates (maintaining original offsets like 50 mm / 1.97 in) and sets it to Grounded = True.
  • Targeted Substitution: Modifies only the specific instance evaluated without altering other global instances.

🚀 Usage: Runs automatically upon execution, identifying root-level parts, generating new assemblies (e.g., _Demoted_[count].iam), and replacing the original components seamlessly.


3. Extract_All_Parts (Inventor TrueBOM Exporter)

Exports a structured and recursive list of all parts and subassemblies from an active assembly (.iam) directly to Microsoft Excel. Unlike standard Inventor BOMs, it extracts each occurrence individually, properly breaking down components generated by Patterns and Mirrors.

✨ Key Features:

  • Individual Instance Extraction: Captures every single occurrence (e.g., Bolt:1, Bolt:2) rather than grouping them by Part Number.
  • Genealogy Tracking: Accurately identifies the immediate Parent Subassembly and Grandparent Assembly for each part using real-time stack tracking.
  • iProperty & Physical Data: Extracts Part Number, Description, Material, and accurately calculates individual component mass.
  • Direct Excel Export: Uses background OLE/COM automation to quietly generate, auto-format, and save an .xlsx file in the same directory as your assembly.

🚀 Usage:

  1. Run the rule from an active, saved assembly.
  2. The script processes the assembly tree in the background (Excel remains hidden for speed).
  3. A success dialog will appear confirming the exact path of the newly generated spreadsheet.

🧩 Common Prerequisites

  • Software: Autodesk Inventor (Compatible with versions supporting iLogic and System.Windows.Forms).
  • File type: The active document must be an assembly (.iam).
  • File status: The original assembly must be saved locally or on a network before running the scripts.

🛠️ General Installation and Setup

  1. Open your main assembly in Autodesk Inventor.
  2. Go to the Manage tab on the ribbon, or open the iLogic Browser.
  3. In the iLogic panel, click on Add Rule.
  4. Assign a descriptive name to the rule (e.g., Extract_All_Parts or Massive_Simplifier).
  5. Copy the respective script's source code and paste it into the editor.
  6. Click Save & Run.

🤝 Contributing

Pull Requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

📄 License

This project is licensed under the MIT License. See the LICENSE file for more details.


Development

Developed and maintained by javilesm

About

This repository contains iLogic tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors