FY_Layout

Generate 2D shapes and 3D solids for LightCAD site layout plugins.

49|9|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/znlgis/opengis-skills --skill fy-layout
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: FY_Layout
Source: https://github.com/znlgis/opengis-skills/tree/main/FY_Layout
Command: npx skills add https://github.com/znlgis/opengis-skills --skill fy-layout

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about FY_Layout

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I develop a C# plugin for LightCAD site layout elements?

To develop a C# plugin for LightCAD site layout, use a template providing ILcPlugin entry points, ElementType definitions with GUIDs, and command registration. It scaffolds UI Tabs, Buttons, and drawing Actions for 2D and 3D workflows.

How do I register ElementType and providers for 3D solid generation in LightCAD?

Register ElementType definitions with unique GUIDs and implement provider classes that generate Solid3d models. Separate provider assemblies handle deployment, utilizing provider registration patterns to output 3D solids for site elements like fences and foundation pits.

Can I debug a LightCAD plugin in Visual Studio using .NET 8.0?

Yes, you can debug a LightCAD plugin in Visual Studio 2022 using .NET 8.0. Open the solution, build the project, deploy the provider assembly, and attach the debugger to lightcad.EXE to test runtime execution and 3D model generation.

What 2D drawing actions are needed for site layout elements like roads and lawns?

Site layout 2D drawing actions require implementing interactive Action classes that handle polylines, rectangles, and conversions. These actions generate Curve2dGroupCollection shapes for elements including roads, lawns, and fences within the LightCAD platform.

Does the LightBIM platform support provider-based shape and solid generation for earthworks?

Yes, the LightBIM platform supports provider-based generation for earthworks. Implement providers to output both Curve2dGroupCollection 2D shapes and Solid3d 3D models, specifically designed for architectural and construction site layout tasks.

Why separate provider assemblies when deploying a LightCAD site layout plugin?

Separating provider assemblies during LightCAD plugin deployment isolates shape and solid generation logic from the main plugin UI. This modular approach streamlines Visual Studio debugging against lightcad.EXE and simplifies .NET 8.0 target configuration updates.