Yjk.Green.Api 2.0.0

Requires NuGet 4.0 or higher.

dotnet add package Yjk.Green.Api --version 2.0.0
                    
NuGet\Install-Package Yjk.Green.Api -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Yjk.Green.Api" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Yjk.Green.Api" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Yjk.Green.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Yjk.Green.Api --version 2.0.0
                    
#r "nuget: Yjk.Green.Api, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Yjk.Green.Api@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Yjk.Green.Api&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Yjk.Green.Api&version=2.0.0
                    
Install as a Cake Tool

YJK Green API

Yjk.Green.Api is the strongly typed managed API reference for YJK Green Building add-ins.

Requirements

  • YJK Green Building with API V2 2.0.0 runtime installed.
  • .NET Framework 4.7.2.
  • x64 build target.

The package contains compile-time assets only. Do not copy Yjk.Green.Api.dll, Yjk.Green.Api.Loader.dll, or Yjk.Green.Api.Bridge.dll into an add-in directory; YJK owns and loads those runtime assemblies.

Declare an IExternalApplication or IExternalCommand in a .yjkaddin manifest. Every Command entry declares a process-wide unique CommandName; YJK discovers nested add-in directories and registers those names automatically at startup. Commands can also be invoked through YJK_API_RUN,<CommandName> (YJK uses a comma before command arguments); YJK_API_RUN itself is reserved. A complete Application + Command template is included in the API V2 release bundle.

Public model objects may only be accessed on the YJK host main thread. All model writes require an explicit Transaction.

The release samples include YJK_API_ENVELOPE_REPORT_SAMPLE, which duplicates construction types for east-facing exterior walls, adds 22 mm to their insulation layer, assigns horizontal shading to south-facing exterior windows, runs the selected prescriptive energy standard, and exports the host DOCX calculation report without using the retired JSON SDK.

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 118 8/25/2026

Initial API V2 release with model identity, transactions, parameters, units, geometry, analysis, events, extensible storage and managed add-in lifecycle.