What problem does it solve?
FY_Layout provides a complete, ready-to-read example for developers who need to implement site layout plugins on the Flyang (LightCAD/LightBIM) platform, removing guesswork around element registration, 2D drawing actions, and 3D model providers so teams can accelerate plugin development and prototyping.
Core Features & Use Cases
- Plugin scaffold & examples: Demonstrates ILcPlugin entry, ElementType definitions with GUIDs, command registration, and UI Tab/Button construction.
- 2D and 3D workflows: Includes Action classes for interactive 2D drawing (polylines, rectangles, conversions) and Provider implementations that generate Curve2dGroupCollection shapes and Solid3d models for elements like fences, lawns, roads, and foundation pits.
- Developer tooling & deployment: Illustrates Visual Studio debugging against lightcad.EXE, .NET 8.0 target configuration, provider registration patterns, and how to separate provider assemblies for deployment.
- Use Case: A plugin developer can extend the sample to add a new site element, wire up its drawing actions and provider, and test the 3D model generation within the LightCAD runtime.
Quick Start
Open the FY_Layout solution in Visual Studio 2022, build with .NET 8.0, deploy the provider assembly if needed, and attach the debugger to lightcad.EXE to run and test the plugin.