reclosedev / pyautocad

AutoCAD Automation for Python ⛺
http://pypi.python.org/pypi/pyautocad/
BSD 2-Clause "Simplified" License
493 stars 142 forks source link

Open a single AutoCAD version from multipple AutoCAD versions installed. #56

Open unxpected opened 5 months ago

unxpected commented 5 months ago

Assume I have installed on my PC all AutoCAD versions between 2013 and 2022. How can I use pyautocad to use AutoCAD 2018 say? Currently it open latest installed AutoCAD, 2022.

CEXT-Dan commented 5 months ago

CoClass is versioned, so Autocad 2022 you can try to use AutoCAD.Application.24

unxpected commented 5 months ago

Maybe to add a key/value to the initilaization of Autocad() object? Say CoClassVersion=24