Hi Frederick, the delay is from generating undo records for object style assignments on every name change.
You can avoid that from happening if you bracket your style modification loop with moi.geometryDatabase.styleEditorOpened(); / moi.geometryDatabase.styleEditorClosed(); like in the attached version.
With that in place it will only generate the undo record one time and should be much faster.
- Michael
|