Autodesk Developer Network 2011
Autodesk
Migration (cont.)
§Regeneration
§Manual regeneration mode only
§Remove regeneration attribute >> no effect if you keep it
§Use Document.Regeneration() when you need to access geometry after the creation/modification
§
§Signature changes, e.g.,
§Document.Import(). .Export
§Compound Structure and wall sweeps
§
§For more information
§“Revit Platform API Changes and Additions.docx”
§RevitAPI.chm >> What’s New in Revit 2012 API help
§
§
As was warned in Revit 2011, the automatic regeneration mode for external applications has been removed. This means that the regen is in the control of API users and is also their responsibility. You have to notify Revit of regeneration after your work is done. For example, if you wish to access geometry of an element after you have created or modified it, we need to regenerate the model to be able to access the updated geometry.

Besides these basic and most important steps in migrating your existing Revit API plug-ins to Revit 2012, there is an extensive list of API changes and if your application is using any of the changed API, you would need to make the corresponding changes in your application to be able to make it work with Revit 2012. For example, there are some signature changes with the Import/Export APIs, compound structures, etc.

For a complete list of changes, please refer to the Revit 2012 SDK documentation and especially the chapter 'What's New' in the Revit 2012 API help file RevitAPI.chm for more details