© 2010 Autodesk
Introduction to Revit 2011 API
Element Modification
Regeneration of Graphics
§When you modify an element that results changes in a model geometry and you need to access to the updated geometry, the graphics need to be regenerated.
§You can control this by calling Document.Regenerate() method with Attributes setting RegenerationOption.Manual.
§
§
§When RegenerationOption.Automatic is used, Revit will try its best to update graphics whenever needed.
§
 m_rvtDoc.Regenerate()