Skip to content

ricaun-io/ricaun.AutoCAD.UI

Repository files navigation

ricaun.AutoCAD.UI

AutoCAD 2019 Visual Studio 2022 Nuke License MIT Build Release

ricaun AutoCAD UI

ricaun.AutoCAD.UI provides a set of UI controls and utilities for AutoCAD .NET applications, built on top of the AutoCAD.NET library. It is designed to simplify the development of ribbon user interfaces in AutoCAD plugins.

Features

ExtensionApplication

The ExtensionApplication class provides a base implementation for AutoCAD .NET applications to start and shutdown, managing the ribbon control lifecycle.

using ricaun.AutoCAD.UI;
using Autodesk.AutoCAD.Runtime;

[assembly: ExtensionApplication(MyExtensionApp)]

public class MyExtensionApp : ExtensionApplication
{
    public override void OnStartup(RibbonControl ribbonControl)
    {
        ribbonControl.CreatePanel("MyPanel");
    }

    public override void OnShutdown(RibbonControl ribbonControl)
    {
        ribbonControl.RemovePanel("MyPanel");
    }
}

Release

License

This project is licensed under the MIT License.


Do you like this project? Please star this project on GitHub!

About

AutoCAD UI API extension with RibbonItem utilities.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project