The plugin i am coding has to move many Elements (Lines, Arcs, Polylines) to a different layer.
I have wrapper-class for each element-type and each element-wrapper-object is synced with the ArchiCAD-Database using "ACAPI_Element_Change" after the layer-id has been changed.
Moving the elements this way is _very_ slow 😞
1000 lines : 7 seconds...
Recently i found the API-Command "ACAPI_Element_ChangeParameters" which seems to change a amount of elements.
I assume this way would be faster, but it would be difficult for me to change to this method, so i would like to hear about your experiences with that.
Would it be a lot faster?
Thanks for advices 🙂