Pyautocad iter object stops iteration

173 views Asked by At

I have this error why? I have something like 2000 text and it just stop iterating after several one.

from pyautocad import Autocad
import comtypes
import regex, time
acad = Autocad()
textGroup = []
    
for i in acad.doc.Modelspace:
    print(i.ObjectName)
    time.sleep(0.01)

enter image description here

0

There are 0 answers