Issues with API in CPython3 after Transition from IronPython 2.7 in Revit 2023

Pulling Python out of Dynamo for Revit is more likely going to break ALL of the Python stuff than make it so IronPython 2 works. Instead you’d be better off making sure your packages deploy correctly, or that your Dynamo graphs specify the engine correctly (which means you need a different graph version for each Revit release).

That said, you could try

  1. Building your own Dynamo for Revit using the Python components which were utilized for Revit 2021 (last version which only had IronPython2), but all the other features of Dynamo for Revit 2023.
  2. Build a custom Revit installer which removes Dynamo for Revit entirely, and then installs your hacked Dynamo for Revit.
  3. Test your hacked build to confirm that things work, and pick up the bugs as they arise.

All in I would expect 1/3 of your functional hours each year to be dedicated to building and maintaining this hack as it will have to be redone on each Revit release and update. Could be a fun experiment though!