How does your object look like when you view it in wireframe?
There can be a lot of polygons (and probably there is), so it is slow.
Post the wireframe of the object here, and maybe the script if not too big, and let's see.
You OS and computer specs would also be needed, as always ...
Djordje
ArchiCAD since 4.55 ... 1995
HP Omen