Python Scripts fo Repository for RevitAPIdocs.com
Code Sample Repository for RevitAPIdocs.com/code
This repository allows the Revit API Community to contribute to the Code Samples section of Revit API Docs.
The Code Samples page uses the Github API to read this repository and inject the files into the browser. [Note: for performance reasons, the code is Cached and will only be refreshed every 6 hours]
Anyone who writes Revit API code and would like to share them with the community.
Python, CSharp
Add / Modify the scripts on your fork
Create a Pull Request
(More info on how to Create a Pull Request from your fork here)
Once you have made a few contributions, feel free to request to be added as a Repository Contributor:
Snippets_CreateDraftingView.py
All contributions added to this repository will be shared using the MIT License. Authors can include their own credits, but they should also keep the information listed below at the beginning of each file:
{Short Description}
{Longer Description - Optional}
Tested Revit API: {comma separated years}
Author: {Name | {email, and or github page of Author}
Shared on www.revitapidocs.com
For more information visit http://github.com/gtalarico/revitapidocs
License: http://github.com/gtalarico/revitapidocs/blob/master/LICENSE.md
Filename: CreateDraftingView.py
Creates a drafting view
TESTED REVIT API: 2015, 2016, 2017
Author: Gui Talarico | github.com/gtalarico
Shared on www.revitapidocs.com
For more information visit http://github.com/gtalarico/revitapidocs
License: http://github.com/gtalarico/revitapidocs/blob/master/LICENSE.md