Inventor Frame Generator: G_L Parameter Becomes Disassociated After Removing End Treatments

October 19, 2021 Heath White

Inventor Frame Generator: G_L Parameter Becomes Disassociated After Removing End Treatments

Issue:

Applying and removing a Notch end treatment to C-channel frame members will result in the disassociation of the “G_L” parameter.  This is the parameter which reports overall frame member lengths to the BOM in Inventor.  This results in incorrect cut lengths for clients that use this workflow.

 

Note: This issue appears to be restricted specifically to combination of the Notch end treatment and the C-channel content type; however, we have not tested all possible variations/combinations so this issue may apply to additional content type/tool combinations.  This was also only tested against Inventor Professional builds 2022.1.1 and 2022.1; other builds may exhibit different behaviors.

Below is an example (the reference parameter name/value can vary)

As you can see below, after the Notch end treatment has been removed, the association between the reference parameter and the G_L parameter is no longer in effect.

Causes:

The underlying cause of this issue has not been determined as of the publishing of this article, but Autodesk has been made aware and they have an AKN article which you can follow for updates to the issue.  Please see the link below (Incident ID: 57073)

https://knowledge.autodesk.com/support/inventor/troubleshooting/caas/sfdcarticles/sfdcarticles/G-L-is-no-longer-associated-to-the-d31-parameter-and-is-wrong-after-removing-Frame-Generator-End-Treatments-the-changing-the-master-sketch-in-Inventor.html

Solution:

As of the publication of this blog article there is no solution.  However, one of our Automation Specialist, Randy Mabery, has converted an old VB script into iLogic for our user’s convenience.  This iLogic rule will reassociate the G_L parameter with the Reference parameter so it properly reports the correct value.

 

Disclaimer: The iLogic rule provided with this article is provided “as is” with no warranty or guarantee implied or inferred.  All use of this code is at the user’s sole discretion and user assumes all risk associated with the use of the provided code

A few things should be noted:

  • Running this rule reassociates the parameters, however, repeating the workflow that broke the parameters, will break the association again each time the workflow is repeated.  (i.e., adding and then removing a notch after the rule has run will break the association)
  • There are multiple ways to use this tool. It can be set up as an external rule and run on an as needed basis, set to run prior to saving assemblies, or added your templates.  You will have to choose the method that best suits your environment and needs.

Link to the iLogic code below:

https://www.dropbox.com/t/CG4JrEBbL4UfdEpi

 

About the Author

Heath White

Sr. Technical Support Specialist, Manufacturing

Follow on Linkedin More Content by Heath White
Previous Article
AutoCAD: Dimensions in Layout do not match the value in Model Space
AutoCAD: Dimensions in Layout do not match the value in Model Space

If your AutoCAD Dimensions in Layout do not match the value in Model Space, we've got a solution for you.

Next Article
What to Select when Migrating Settings
What to Select when Migrating Settings

It’s important to know what you should migrate and what you should not when setting up your AutoCAD or Auto...

×

Get Tips Delivered.

Subscribe to Email Updates.

First Name
Last Name
Country
Thank you!
Error - something went wrong!