On May 23, 2016, at 4:10 PM, ?? 
<t.j.w...@hotmail.com<mailto:t.j.w...@hotmail.com>> wrote:

Recently I’m working on the AutoCAD attribute extraction. When I install the 
pywin32 and write the code as follow:
Before into the code, I want to ask one question. If I wish to extract from dxf 
file can I use the same method as below?
--------------------------------------------------------------------------------------------
import win32com.client
acad = win32com.client.Dispatch("AutoCAD.Application")
...
Traceback (most recent call last):
  File "F:\PHP\DXF_Data\Script4.py", line 3, in <module>
    acad = win32com.client.Dispatch("__**AutoCAD.Application”)

So where did the __** come from?  Those are, indeed, invalid characters in a 
COM CLSID name.
—
Tim Roberts, t...@probo.com<mailto:t...@probo.com>
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to