Revit 2022 & IronPython folder

Hi all,

Does anyone know where the IronPython folder is in Revit 2022.1.3 / Dynamo 2,12 ?

Since Revit 2020 Dynamo for Revit is installed within the addins folder which can be found here

C:\Program Files\Autodesk\Revit 2022\AddIns\DynamoForRevit\IronPython.StdLib.2.7.9

Change the revit version for either 2020, 2021 or 2022.

Do note that for revit 2023 on wards you have to get the IronPython package and is not installed in a similar version as the above folder!!

1 Like

@Brendan_Cassidy Thanks a lot! :grinning:

so no need to add this code anymore ? Do you know how to import sqlite ?

import sys
pyt_path = r'C:\Program Files (x86)\IronPython 2.7\Lib'
sys.path.append(pyt_path)

I guess the IronPython Console has to be manually installed

For sqlite you should just need to do the below

import sqlite3

yes I tried that

Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. 
Traceback (most recent call last):
  File "<string>", line 31, in <module>
  File "C:\Program Files\Autodesk\Revit 2022\AddIns\DynamoForRevit\IronPython.StdLib.2.7.9\sqlite3\__init__.py", line 32, in <module>
  File "C:\Program Files\Autodesk\Revit 2022\AddIns\DynamoForRevit\IronPython.StdLib.2.7.9\sqlite3\dbapi2.py", line 28, in <module>
ImportError: No module named _sqlite3