On May 23, 2016, at 4:10 PM, ??
<[email protected]<mailto:[email protected]>> 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, [email protected]<mailto:[email protected]>
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32