Thursday, June 4, 2020

Automation Through Linked Inventor Parameters

Building automation into Inventor models is one of the biggest requests that I hear in my job.  Customers have a few projects that they have built and they want to find a way to leverage that and build new projects faster.  In most cases, the designs have variations in them that make them unique.  When I review these customer models, looking for ways to add automation to them, I first look for ways to utilize basic Inventor functionality before considering custom programing.  One of the easiest ways to get automation into a design or project is to link parameters.  

A model's parameters can be linked to either another model or an Excel file.  Once the parameters are linked, changing the values in one location will cause the linked parameter in all the other locations to update.  In most cases, the local update icon will light up in the other files, letting you know that Inventor sees new values and wants to update the models to reflect the new values.  The process of creating the link is pretty simple but can be very powerful and save time for the user and eliminate mistakes.

To link parameters to an Inventor file or Excel file, you will first need to open the Parameter dialog box and click the "Link" button.  


Inventor will then display the Open dialog, where the user can filter based on the file type they are looking for.  



If an Inventor model is picked, a dialog box will be displayed asking which parameters you would like to link.  



If the selected parameters are not marked for Export, Inventor will ask if it is okay to mark it for export.


Once that is done, Inventor will bring all the parameters into the parameter list.  


If an Excel file is picked, the user can also pick the Start Cell for where Inventor should start reading parameter values. 


Then Inventor will add the parameters to the list.


Here is a video demonstrating the process of linking parameters between Inventor files.


Here is a video demonstrating the process of linking parameters to an Excel file.


Having done this multiple times, I have a few tips that will save you from errors and make the process more manageable.  First of all, even though you can link parameters between models, Inventor will complain about a cyclical reference if you link parameters between an assembly and one of its parts.


If you prefer to control parameters by linking between Inventor files, you could create a separate file that holds all the parameters and then link the models to that file, as a shared resource. 

If you want to link parameters to an Excel file, you have to put all the values on the first tab in the file.  I have seen customers create multiple tabs for different calculations, then push those values to the main tab.  Also, when you link the parameters to an Excel file, you will be asked for a start cell.  Inventor will then start reading that column for parameter names and use the next cell to the right as the value.  If it sees a blank row, it will stop reading values.  By using different Start Cells and blank rows, you will have better control of which parameter values get pulled into which files.  One limitation of this is that you will not be to link one part file to a specific Excel file more than once. 

Lastly, I advise you to keep the parameter names of each file unique.  If you link in a parameter named "Length" and you already have a parameter named "Length" in your file, Inventor will change the name of the linked parameter to "Length_1."  I haven't seen this cause an error or issue, but it might cause confusion.

So that is all there is to it.  Using the ability to link parameters to other models or Excel files should give you an easy way to add some automation to your new or existing project.


  

2 comments:

  1. A Gigantic Thanks very much, I considered your article was very interesting I’ll get back to see what more great information I can get here.
    https://indusdesignworks.com/architectural-designer.php
    Online architectural designer

    ReplyDelete
  2. Thank you for the information I considered your article was very interesting. Online Training

    ReplyDelete