Get ClassID of different versions of program with same ProgID

ilocke ivanlocke at mail.com
Sat Jun 2 01:15:34 CEST 2007


AutoCAD.Application.16 opens 2004, but I tried numbers before and
after and nothing opend up 14.

I figured out a way to find it though. I was using
pythoncom.GetClassFile on the AutoCAD executable instead of a drawing
file.

I used it with .dwg twice while associated to each of the versions,
and it gave me the ClassID of the associated version.

Now just to get down to the real work and make it do something useful.

Ivan




More information about the Python-list mailing list