pyChai is a free open-source pyRevit extension for Autodesk Revit. It provides a collection of tools, optimizing certain tasks in a Revit workflow.
For detailed documentation, visit Kaadya, where I showcase the journey of pyChai plugin, from ideation to pitfalls encountered along the way.
Take a sip of chai🍵 and relax.
Currently, pyChai has following major tools under its arsenal, with more tools planned in future -
| Tool | Notes | Compatible |
|---|---|---|
| Parameter Mapper |
|
Revit 2020 till Revit 2027 |
- The tool speed up the mundane data-entry tasks of applying Revit instance parameter values (string/numerical).
- The values extracted from spreadsheet file (Excel/ LibreOffice Calc/CSV) are applied to Revit element's instance parameters.
- Users have choice to select Revit category, along with choice of Revit instance parameters for applying.
- The tool has data validation built-in, preventing the incorrect data type (string/float/integer/boolean).
- Click here to learn more about the tool.
- Click here to view samples of Parameter Mapper.
There are 2 ways to install pyChai plugin -
Powershell (recommended)
- Launch Powershell.
- Copy the code snippet shown below in the Powershell window -
irm https://raw.githubusercontent.com/smit-8462/pyChai/main/scripts/pyChai_Extension_Install.ps1 | iex

- Press Enter
- If below message is displayed in terminal,
pyChaiextension has been successfully installed.
- You can read Powershell script here in-depth for more information.
Manual installation
- Click on
Codebutton.

- Click on
Download ZIP. It will download the pyChai extension.zipfile.

- In File Explorer address bar, enter this folder location -
%appdata%\pyRevit

- Go to
Extensionsfolder. If it doesn't exist, create a folder named "Extensions".

- Create a folder named
pyChai.extension.

- Extract the contents of recently downloaded
.zipfile topyChai.extensionfolder. - Now, there will be a
python-packages-site-packages.zipfile inbin\python_package_zipfolder location. - Extract the
python-packages-site-packages.zipfile contents inpyChai.extensionfolder. - In Revit, go to
pyRevittab. Click onReloadbutton.

pyChaiextension has been successfully installed. Congratulations 🎊!
There are 2 ways to uninstall/remove the pyChai plugin -
Command Prompt (recommended)
- Launch Command Prompt.
- Copy the code snippet shown below in the Command Prompt -
pyrevit extensions delete pyChai
- Press Enter.
pyChaiextension has been successfully uninstalled. OUCH 🌧️!
Manual delete
Update pyChai extension
- Launch Command Prompt.
- Copy the code snippet shown below in the Command Prompt -
pyrevit extensions update pyChai
- Press Enter
pyChaiextension has been successfully updated. Congratulations 🎊!
Caution
I am getting error - ModuleNotFoundError: No module named 'pandas'
Module import error
- The
site-packagesfolder might be missing inpyChai.extensionfolder. - Some files or Python modules may be missing in
site-packagesfolder. - Low possibility, due to update there might be change in folder structure.
- The folder locations stored in
pyRevit_config.inifile may be outdated/changed.
Solution 1 - Delete plugin configurations
- Open the following file in Notepad
%appdata%\pyRevit\pyRevit_config.ini
- Delete the lines containing
[pyChaiConfigs],cpython_exe_location,cpython_plugin_lib_location&cpython_external_location. - Save the file and close it.
- Now, open the "Parameter Mapper" tool, and try again. It will work.
Solution 2 - Replace Python module files
- If issue is still unresolved, try the following steps.
- Delete
site-packagesfolder inpyChai.extensionfolder (if any). - Extract the contents of
.zipfile insidebin\python_package_zip\to the root (pyChai.extension) folder. - In Revit, go to
pyRevittab. Click onReloadbutton.

- Python modules have been replaced successfully.
-
- Now, open the "Parameter Mapper" tool, and try again. It will work.