Skip to content

ladybug-tools/honeybee-ui-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Build NuGet Version and Downloads count

honeybee-ui-dotnet

This is the UI library with ETO dialogs and forms for editing Honeybee Schema (DotNet) on both Windows and Mac system.

2020-06-22-17-47-41

Same experience as in OpenStuio App 2020-06-22-17-54-20

Installation

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;

Getting Started

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());
}

A demo for standalone App:

  • [Windows] src\Honeybee.UI.ConsoleApp\Honeybee.UI.ConsoleApp.csproj
  • [Mac OS] src/Honeybee.UI.ConsoleApp/Honeybee.UI.ConsoleAppMac.csproj