Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_ctypes.COMError: (-2147467262, 'No such interface supported', (None, None, None, 0, None)) #44

Open
GJoe2 opened this issue Jan 19, 2023 · 1 comment

Comments

@GJoe2
Copy link

GJoe2 commented Jan 19, 2023

Similar to 17
At the line:

for obj in acad.iter_objects('Text'):

I get :

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))
@13537891894
Copy link

I also encountered the same issue. Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants