Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
Comentario
Autodesk
Autodesk

Thank you for the examples.   It is not regeneration in the sense of Document.Regenerate() happening for those calls, but rather update of the elements and the geometry needed to show in the view.    Some operations need to update the view the first time and should be faster after that.  Others might need to recalculate each time. I'm guessing by your report you are finding that these operations are recalculating every time?

 

Please note one workaround for View.Outline - call this once and set it into a local variable, instead of accessing .Outline.Max.U, .Outline.Max.V, etc. This should help avoid multiple recalculations of the outline in the same call sequence.