I’ve been encountering an issue with my Dynamo Scripts in CPython3 after transitioning from IronPython 2.7 in Revit 2023, and I could use some guidance. Same problem as this post.
We work in a Citrix Environment where every machine receives a fresh installation of Revit 2023 on startup. My idea was to ensure that the IronPython 2.7 package is copied into the appropriate directory during the startup process. Since the Dynamo scripts are configured to use this version, I expected them to work (which did happen when I manually changed the version).
However, it hasn’t worked as expected, and I’m facing errors on some machines, particularly when using Revit API calls.
I’d like to explore a few potential solutions and would appreciate your insights:
Is there a way to configure the Revit 2023 installation process to skip or exclude CPython3?
Alternatively, is there a method to uninstall or remove CPython3 shortly after the Revit 2023 installation? This would ensure only IronPython 2.7 is available, ideally resolving the compatibility issues.
Maybe there is a different approach I did not think of, any help would be welcome!