Autodesk Inventor 2018 - iLogic - Set Sheet Metal Rule for Selected Components

This blog post explains how to change specific components in Autodesk Inventor instead of bulk editing every sheet metal component in the entire assembly.

I previously posted some iLogic code to automatically change the sheet metal rule in every sheet metal component in the assembly. A forum user has requested the ability to pick specific components to change, instead of bulk editing every sheet metal component in the entire assembly.

Watch the video below to find out how to change specific components.

Note: the below video was created by Excitech prior to becoming Symetri in January 2021, following its acquisition by Addnode Group. All Excitech products, services and solutions mentioned in this recording are available through Symetri.


You can download the requested iLogic rule here.

If you’re interested in learning how the code works, please read below:

  1. Prompts the user to pick as many components as they like in the assembly. Note this is part components only. If a selected component isn’t actually a sheet metal component, the user gets a message box informing them.
  2. Once the user has finished selecting components they hit ESC. The code will then find all the sheet metal rules that exist in the Design Data (or Style Library) and put all their names into a multi-value parameter called ‘ActiveRule’ (it also creates this parameter if it doesn’t exist yet). Note the sheet metal rules have to be saved in the Style Library otherwise they’ll be ignored.
  3. The user is then shown an input box with all the possible sheet metal rules displayed, so they can pick the one they want to apply.
  4. The code then attempts to apply the selected sheet metal rule to every part the user selected. If this causes an error the user is informed as below.

We can see that 9 components succeeded in the screenshot above, and 1 failed. Why would it fail?

  1. The part is read-only (in a library or checked in to Vault etc)
  2. The part can’t handle being switched to the new sheet metal style – perhaps a flat pattern clash or similar

The best thing to do is to manually open the component(s) that have failed and try applying the sheet metal rule manually – this will highlight what the issue is.

Explore the other features of Autodesk Inventor on our Inventor page.


Sovelia Vault: The Smarter Way to Manage Design Data

04 November 2025

If you are an Autodesk Vault user in the mechanical engineering and manufacturing industry, you are likely familiar with the challenges of managing design data. While Vault provides a solid foundation for storing and organising design data, it falls short in some critical areas. You might have noticed this if you ever wanted to automate workflows or configure company-specific rules and processes in Vault. Let’s dive into these challenges and possible solutions. 

5 Tips to Work Smarter in Autodesk Vault

03 November 2025

Sovelia Vault is an automation platform for Autodesk Vault, providing enhanced flexibility, control, and customisation. Discover 5 tips to work smarter and streamline your Autodesk Vault workflows with Sovelia Vault.

Cybersecurity Starts with Awareness

27 October 2025

Discover the hidden cybersecurity risks many businesses overlook—from improper data disposal and insecure API integrations to forgotten digital footprints left by former employees. Learn practical steps to reduce your exposure and protect sensitive data. Plus, get expert insights and register for our upcoming webinar on data security and compliance in Autodesk’s new regional hubs.