New Features and Improvements
Run Python Command
Engine Selection Support: Users can now choose between IronPython and Dynamo_CPython3 as the script execution engine. This opens up full compatibility with Python scripts originally written for Dynamo.
Cross-Compatible Python Scripts: The
Run Python
command now supports running scripts created for Dynamo directly inside Revit, and vice versa.Script File Input: Users can now specify a path to a Python file on disk, allowing them to write and maintain scripts in their favorite external editor.
Unified IN/OUT Support: Both engines now consistently use
IN
for input values andOUT
for output, ensuring a uniform scripting experience.New Default Template: The built-in script template has been updated to reflect current best practices — clean
IN
/OUT
usage and noprint
statements.Updated Documentation: The command’s documentation now clarifies engine-specific behaviors and includes multilingual support.
For details, visit the Run Python documentation.