Message 1 of 3
Revit 2017 API - ElementTransformUtils.RotateElement is very slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
I am creating a Revit 2017 plugin in which I use "ElementTransformUtils.RotateElement()" to rotate a lot of Revit Elements
The problem is that this method sometimes takes more than 1000ms for each element on a high performance pc... and when creating 100s of elements, this will make the overall process very slow
First Question: Why does this method takes a lot of time?
Second Question: Is there an alternative or a work around to rotate any element without using "ElementTransformUtils.RotateElement()"?
Thanks