With encouragement from Luke that we get together to create “an unlimited store of easily accessible plugins in an open source repository”, I’ve created a public Git repository at https://bitbucket.org/BoostYourBIM/revit_api_public/ that will be open to anyone who wants to contribute code. (BitBucket requires each user to be explicitly given write access, so let me know if you’d like that and I will send you an invite)
In my post at https://boostyourbim.wordpress.com/2013/07/31/what-is-version-control-and-why-should-you-care/ I explained why the products BitBucket and SourceTree from the folks at https://www.atlassian.com/ seem like a good combination. These tools let us back up, track revisions, and share code without having to do the crazy command-line stuff that is sometimes associated with technologies like Git. I hope the video below sheds at least a bit of light on how the pieces fit together.
The idea is that you should be able to install SourceTree, go to this BitBucket repository, click “Check out in Source Tree”
Get a repository in SourceTree that looks like this:
And end up with the code on your computer like this
That creates working macros as shown here
If this makes no sense or doesn’t work at all, let me know and we will try to straighten it out.
6 thoughts on “A public Git repository for sharing Revit Macros at BitBucket”
[…] Source: What Revit Wants: Public Macro Repository for Revit BoostYourBIM: A public Git repository for sharing Revit Macros at BitBucket […]
hi harry, what advantage does bitbucket provide over github, please? i’m surprised, and interested. thank you! cheers, jeremy
Bitbucket integrates nicely with SourceTree (http://www.sourcetreeapp.com/) and has many other nice features. Bitbucket is also free for individuals and small groups to create unlimited private repositories. That costs $7/month on GitHub.
When I check out the repository files get copied to my machine fine, Revit sees them. But I cannot open them or use them in Revit. I just get the little red cross to indicate that they failed to build. How do I proceed, do I need to build them from outside Revit’s environment?
These steps work for me:
I see what you’re getting at. So the Macro must initially be created from Revit, but after that the files can come in from outside. I’ve got that working with my udemy course practice file running on several machines, and now also a static copy of Public_2014 which works. Thanks.