onsdag 8. juni 2011

Length parameter of frame generator beams not updating in R2012

As mentioned in several newsgroup posts, the G_L parameter in frame generator beams in R2012 remains static after modifying a beam. In normal circumstances the G_L parameter contains at any time the cut length of a beam. The length of a beam can change after several different operations (changing the skeleton sketch, doing a trim/extension or a lengthen/shorten operation).
After any of these operations the G_L value in 2012 only shows the initial length and does not change.

Autodesk has published the following hotfix to fix this problem going forward.

However if you have created beams with R2012 before applying the hotfix, these beams will continue to have a static G_L value even after applying the hotfix.In order to completely get out of the woods, you will have to do a one time clean-up of your frame generator assemblies.

The one-time procedure is very simple:
1. Download and unzip this VBA macro to your local drive
2. Open the VBA editor
3. File > Import and insert the file Correct_G_L_parameter.bas into your application project (typically Default.ivb)
4. Open your frame generator assembly
5. Run the macro Correct_G_L_parameter in module Correct_G_L_parameter
6. Save your assembly

Source: http://beinginventive.typepad.com/

Ingen kommentarer:

Legg inn en kommentar