Morpho.Envimet.UI
1.0.4
dotnet add package Morpho.Envimet.UI --version 1.0.4
NuGet\Install-Package Morpho.Envimet.UI -Version 1.0.4
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="Morpho.Envimet.UI" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Morpho.Envimet.UI" Version="1.0.4" />
<PackageReference Include="Morpho.Envimet.UI" />
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 Morpho.Envimet.UI --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Morpho.Envimet.UI, 1.0.4"
#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.
#addin nuget:?package=Morpho.Envimet.UI&version=1.0.4
#tool nuget:?package=Morpho.Envimet.UI&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Morpho UI
UI to use for CAD plugin.
Mapping with Morpho Core
Morpho entity | Morpho UI constructor |
---|---|
Grid | new EntityForm("grid", grid.Serialize()) |
Building | new EntityForm("building", grid.Serialize()) |
Plant2d | new EntityForm("plant2D", plant2d.Serialize()) |
Plant3d | new EntityForm("plant3D", plant3d.Serialize()) |
Receptor | new EntityForm("receptor", receptor.Serialize()) |
Source | new EntityForm("source", source.Serialize()) |
Soil | new EntityForm("soil", soil.Serialize()) |
Terrain | new EntityForm("terrain", terrain.Serialize()) |
Examples
// Create grid with Morpho
var nestingGrids = new NestingGrids(3, "000000", "000000");
var size = new Size(new MorphoGeometry.Vector(0, 0, 0), new CellDimension(3, 3, 3), 100, 100, 25);
var eqGrid = new Grid(size, nestingGrids);
// Serialize
var jsonString = eqGrid.Serialize();
// Create grid form
var form = new EntityForm("grid", jsonString);
// Show grid form
form.ShowDialog();
// Get data on submit
var data = form.Connection.Data;
// Deserialize
var newGrid = Grid.Deserialize(data);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows7.0
- Microsoft.Web.WebView2 (>= 1.0.2088.41)
- Morpho.Envimet (>= 2.0.2)
- Morpho.Newtonsoft.Json (>= 13.0.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.