This is the UI library with ETO dialogs and forms for editing Honeybee Schema (DotNet) on both Windows and Mac system.
Same experience as in OpenStuio App
Run the following command or via Visual Studio Nuget Package Manager to install the library
- [dotnet]
dotnet add package Honeybee.UI
- [Nuget Package Manager]
Install-Package Honeybee.UI
Then include the DLL (under the bin
folder) in the C# project, and use the namespaces:
using HoneybeeSchema;
using Honeybee.UI;
var energyProp = new HoneybeeSchema.RoomEnergyPropertiesAbridged();
var dialog = new Honeybee.UI.Dialog_RoomEnergyProperty(energyProp);
var dialog_rc = dialog.ShowModal();
if (dialog_rc != null)
{
Console.WriteLine(dialog_rc.ToJson());
}
- [Windows]
src\Honeybee.UI.ConsoleApp\Honeybee.UI.ConsoleApp.csproj
- [Mac OS]
src/Honeybee.UI.ConsoleApp/Honeybee.UI.ConsoleAppMac.csproj