[python-win32] AutoCAD attribute issue
Tim Roberts
timr at probo.com
Mon May 23 21:28:35 EDT 2016
On May 23, 2016, at 4:10 PM, ?? <T.J.Will at hotmail.com<mailto:T.J.Will at 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, timr at probo.com<mailto:timr at probo.com>
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20160523/e9a46343/attachment.html>
More information about the python-win32
mailing list