Skip to content

Package for RevitAddin to download bundle file from Github.

License

Notifications You must be signed in to change notification settings

ricaun-io/ricaun.Revit.Github

Repository files navigation

ricaun.Revit.Github

Revit 2017 Visual Studio 2022 Nuke License MIT Publish Develop Release

The ricaun.Revit.Github allows downloading bundle files in Autodesk format from Github and unpacking the zip in the installed bundle folder.

The bundle file is generated and released using the ricaun.Nuke.PackageBuilder build automation with Github Action.

This project was generated by the AppLoader Revit plugin.

GithubRequestService

The GithubRequestService(user, repo) contains all the logic to download and unpack the bundle files in the release section from the user and repo in Github.

var service = new GithubRequestService("ricaun-io", "ricaun.Revit.Github");

Initialize

The Initialize method starts the process to read the content in the release section in Github and find the last version that is greater than the current version of the plugin. This method only works if the plugin is installed using the bundle format.

var service = new GithubRequestService("ricaun-io", "ricaun.Revit.Github");
bool downloadedNewVersion = await service.Initialize();

ricaun.Revit.Github.Example

This is a simple RevitAddin project implementation to test the ricaun.Revit.Github library, the command force to download the last version in this repository.

Release

Videos

Live videos in portuguese with the creation of this project.

VideoIma1 VideoIma2 VideoIma3 VideoIma4 VideoIma5

License

This project is licensed under the MIT Licence.


Do you like this project? Please star this project on GitHub!