|
| 1 | +# RevitPythonShell |
| 2 | + |
| 3 | +The RevitPythonShell adds an IronPython interpreter to Autodesk Revit and Vasari. |
| 4 | + |
| 5 | +The RevitPythonShell (RPS) lets you to write plugins for Revit in Python, my favourite scripting language! But even better, it provide you with an |
| 6 | +interactive shell that lets you see the results of your code *as you type it*. This is great for exploring the Revit API while |
| 7 | +writing your Revit Addins - use this in combination with the (RevitLookup)[https://github.com/jeremytammik/RevitLookup] to |
| 8 | +become a Revit API Ninja :) |
| 9 | + |
| 10 | +## Features |
| 11 | + |
| 12 | +- interactive IronPython interpreter for exploring the API |
| 13 | + - with syntax highlighting |
| 14 | + - autocompletion (press CTRL+SPACE after a period) |
| 15 | + - based on the [IronLab](http://code.google.com/p/ironlab/) project |
| 16 | +- batteries included! (Python standard library is bundled as a resource in the `RpsRuntime.dll`) |
| 17 | +- full access to the .NET framework and the Revit API |
| 18 | +- configurable "environment" variables that can be used in your scripts |
| 19 | +- save "external scripts" for reuse and start collecting your awesome hacks! |
| 20 | +- run scripts at Revit startup |
| 21 | +- deploy scripts as standalone Revit Addins |
| 22 | + |
| 23 | +## Installation |
| 24 | + |
| 25 | +## Contribute |
| 26 | + |
| 27 | +- Issue Tracker: https://github.com/architecture-building-systems/revitpythonshell/issues |
| 28 | +- Source Code: https://github.com/architecture-building-systems/revitpythonshell |
| 29 | + |
| 30 | +## Support |
| 31 | + |
| 32 | +- [RevitPythonShell discussion group](http://groups.google.com/group/RevitPythonShell) |
| 33 | +- [stackoverflow](http://stackoverflow.com) (Note: use the ```revit```, ``revit-api`` and ``revitpythonshell`` tags) |
| 34 | + |
| 35 | +## Getting started: |
| 36 | + |
| 37 | +Learn some python: |
| 38 | + |
| 39 | + * [The Python Tutorial](https://docs.python.org/2/tutorial/) |
| 40 | + * [Dive Into Python](http://www.diveintopython.net/) |
| 41 | + |
| 42 | +Learn about the Revit API: |
| 43 | + |
| 44 | + * [Autodesk Developer Network](T) |
| 45 | + * [Jeremy Tammiks blog "The Building Coder"](http://thebuildingcoder.typepad.com/) |
| 46 | + |
| 47 | +You can find sample scripts here: |
| 48 | + |
| 49 | + * [Sample RPS Scripts on GitHub](https://github.com/daren-thomas/rps-sample-scripts) |
| 50 | + * feel free to send me your own scripts for inclusion! |
| 51 | + * [Nathan's Revit API Notebook using the RevitPythonShell](http://wiki.theprovingground.org/revit-api) |
| 52 | + * Nathan Miller even has a [Mobius Surface for Vasari](http://wiki.theprovingground.org/revit-api-py-parametric) sample |
| 53 | + * [dp stuff (Python Scripts Archives)](http://dp-stuff.org/category/python-scripts) |
| 54 | + * lots of scripts |
| 55 | + * [my own blog](http://darenatwork.blogspot.com/) contains the odd sample script |
| 56 | + |
| 57 | +## License |
| 58 | + |
| 59 | +This project is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). |
| 60 | + |
| 61 | +## Credits |
| 62 | + |
| 63 | + * Daren Thomas (original version, maintainer) |
| 64 | + * Zachary Kron (original port to Vasari) |
| 65 | + * Akimitsu Hogge (original port to Vasari) |
| 66 | + * Joe Moorhouse (interactive shell was taken from his project [IronLab](http://ironlab.net/)) |
| 67 | + * Jason Schaeffer (port to Revit 2011) |
| 68 | + * many, many users with questions, bug reports etc! |
| 69 | + |
| 70 | +Also, many thanks to the |
| 71 | +[Chair for Architecture & Building Systems](http://systems.arch.ethz.ch) for making this project possible. |
| 72 | + |
| 73 | +**NOTE**: If you are not on this list, but believe you should be, please contact me! |
| 74 | + |
| 75 | + |
| 76 | + |
0 commit comments