pyrevit

Coding with Revit API: tips to reduce memory use?

半腔热情 提交于 2019-12-04 15:14:20
I have a quite 'general' question. I am developing with Revit API (with python), and I am sometimes observing that the Revit session gets slower during my tests and trials (the longer Revit stays open, the more it seems to happen). It's not getting to the point where it would be really problematic, but it made me think about it anyway.. So, since I have no programming background, I am pretty sure that my code is filled with really 'unorthodox' things that could be far better. Would there be some basic 'tips and tricks' that I could follow (I mean, related to the Revit API) to help the speed of