There is a long standing known issue with double mitered frame generator beams like the orange colored beam in below image.

Figure 1: Double mitred frame generator beam
These type of mitred beams report a length in the G_L parameter that is too large.
Here is a proposed solution although it will only work with straight beams because the solution uses a bounding box algorithm. So it will not work properly on curved beams , keep that in mind before you jump in.
There are two approaches that depend whether you want to treat existing assemblies or want to set the length right for new assemblies.
A. For existing assemblies:.
The first step is a one time operation:
- Download and unzip this macro to any folder
- Start Inventor 2011 or 2012
- Tools > Options > VBA editor
- Expand the ApplicationProject so that you see the Modules
- File > Import the file called Precise_FG_length.bas. The macro will end up in module called "Precise_FG_length".
The second step needs to be performed on a per assembly basis
- Open your frame generator assembly
- Run the macro called "Precise_FG_length" and check the G_L values in the BOM editor
The macro replaces all length calculations for FG beams with their bounding box length.
This means that the macro overrides systematically all formulas that exist in the G_L parameter of a beam and needs to be rerun each time you modify your assembly in order to get correct results.
B.For new assemblies:
You could add an iLogic rule to your assembly template file so that for all new assemblies, the BOM length will AUTOMATICALLY show the correct value.
1. Start a new assembly
2. Add the Precise_FG_length() macro to the ApplicationProject as explained in A if you haven't done so.
3. Add an iLogic rule called "Precise length" to the assembly template
- Open the Assembly.iam file from the Inventor templates folder.
- For R2011 this folder is located at %public%\Documents\Autodesk\Inventor 2011\Templates
- For R2012 this folder can be found in %public%\Documents\Autodesk\Inventor 2012\Templates
- Manage > iLogic > Add rule
4. Place following one-liner in the rule
InventorVb.RunMacro("ApplicationProject", "Precise_FG_length", "Precise_FG_length")
5.Make sure you trigger that rule "Before Save Document" by using Manage > iLogic > Event Triggers
6.Save as your assembly template so you can start using it for any new Frame Generator assembly.
Bob