File "d:\CODE\pyautocad\tutorial.py", line 15, in <module>
for obj in acad.iter_objects('Text'):
File "C:\Users\user\AppData\Roaming\Python\Python39\site-packages\pyautocad\api.py", line 128, in iter_objects
item = self.best_interface(item)
File "C:\Users\user\AppData\Roaming\Python\Python39\site-packages\pyautocad\api.py", line 156, in best_interface
return comtypes.client.GetBestInterface(obj)
File "C:\ProgramData\Anaconda3\lib\site-packages\comtypes\client\__init__.py", line 126, in GetBestInterface
result = punk.QueryInterface(interface)
File "C:\ProgramData\Anaconda3\lib\site-packages\comtypes\client\lazybind.py", line 142, in QueryInterface
return self._comobj.QueryInterface(*args)
File "C:\ProgramData\Anaconda3\lib\site-packages\comtypes\__init__.py", line 1152, in QueryInterface
self.__com_QueryInterface(byref(iid), byref(p))
_ctypes.COMError: (-2147467262, 'No such interface supported', (None, None, None, 0, None))
Similar to 17 At the line:
for obj in acad.iter_objects('Text'):
I get :