It works perfectly with IronPython2, but it gives me the following warning with CPython3 and I have no idea why: AttributeError : â__ComObjectâ object has no attribute âDataâ
Hello @ina - As @sanzoghenzo mentions, there is not full parity between IronPython2 and CPython3. As such, you can still download the IronPython2.7 package from the package manager to keep using your existing workflow if you wish
We suggest you update to CPython3 where possible as this is now the supported language, but in situations like this where there isnât parity the suggestion is to use IronPython2 if you are comfortable with it no longer having security related patches as it has been discontinued now.
Probably worth noting this is a digup from 2016 originally so hopefully they found a solution across the 6 years in between (how do these threads even get resurfaced, weird).
Iâve been using the IronPython2.7 without any issues so far and plan to probably just keep using it as long as it works. Doesnât seem to be a consensus from package authors on moving into CPython3 yet, very few seem to have as far as I can tell.
Hi, thanks a lot! It seems using CPython3 to handle COM API objects is definitely more difficult than with IronPython2. I will probably do it as @solamour suggested and keep IronPython2 where needed.
Hi @solamour,
thanks a lot for your reply!
Thatâs exactly what I did. Seems to work pretty well
It just feels wrong to use different python packages in the same Dynamo file, but I guess there is no issue with that?
No issues so long as everyone using the graph has that package Technically, IronPython2 no longer receives patches, so no more security patches which means we cannot ship it ourselves, but can offer it in an âopt inâ scenario like the Package Manager. CPython3 is fully up to date and security patched!