{"id":37050016,"url":"https://github.com/ricaun-io/ricaun.autocad.ui","last_synced_at":"2026-04-10T19:04:42.924Z","repository":{"id":302891008,"uuid":"1012782407","full_name":"ricaun-io/ricaun.AutoCAD.UI","owner":"ricaun-io","description":"AutoCAD UI API extension with RibbonItem utilities.","archived":false,"fork":false,"pushed_at":"2025-11-01T14:29:45.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T07:45:30.291Z","etag":null,"topics":["autocad","autocad-addins","autodesk"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ricaun-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"ricaun-io"}},"created_at":"2025-07-02T21:54:54.000Z","updated_at":"2025-11-01T14:37:20.000Z","dependencies_parsed_at":"2025-07-04T16:55:33.773Z","dependency_job_id":null,"html_url":"https://github.com/ricaun-io/ricaun.AutoCAD.UI","commit_stats":null,"previous_names":["ricaun-io/ricaun.autocad.ui"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/ricaun-io/ricaun.AutoCAD.UI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricaun-io%2Fricaun.AutoCAD.UI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricaun-io%2Fricaun.AutoCAD.UI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricaun-io%2Fricaun.AutoCAD.UI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricaun-io%2Fricaun.AutoCAD.UI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricaun-io","download_url":"https://codeload.github.com/ricaun-io/ricaun.AutoCAD.UI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricaun-io%2Fricaun.AutoCAD.UI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocad","autocad-addins","autodesk"],"created_at":"2026-01-14T05:48:16.148Z","updated_at":"2026-03-08T01:01:28.311Z","avatar_url":"https://github.com/ricaun-io.png","language":"C#","funding_links":["https://github.com/sponsors/ricaun-io"],"categories":[],"sub_categories":[],"readme":"# ricaun.AutoCAD.UI\n\n[![AutoCAD 2019](https://img.shields.io/badge/AutoCAD-2019+-E51050.svg)](https://github.com/ricaun-io/ricaun.AutoCAD.UI)\n[![Visual Studio 2022](https://img.shields.io/badge/Visual%20Studio-2022-blue)](https://github.com/ricaun-io/ricaun.AutoCAD.UI)\n[![Nuke](https://img.shields.io/badge/Nuke-Build-blue)](https://nuke.build/)\n[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\n[![Build](https://github.com/ricaun-io/ricaun.AutoCAD.UI/actions/workflows/Build.yml/badge.svg)](https://github.com/ricaun-io/ricaun.AutoCAD.UI/actions)\n[![Release](https://img.shields.io/nuget/v/ricaun.AutoCAD.UI?logo=nuget\u0026label=release\u0026color=blue)](https://www.nuget.org/packages/ricaun.AutoCAD.UI)\n\n[![ricaun AutoCAD UI](https://raw.githubusercontent.com/ricaun/test-assets/main/assets/ricaun.AutoCAD.UI.png)](https://github.com/ricaun-io/ricaun.AutoCAD.UI)\n\n`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.\n\n## Features\n\n### ExtensionApplication\n\nThe `ExtensionApplication` class provides a base implementation for AutoCAD .NET applications to start and shutdown, managing the ribbon control lifecycle.\n\n```C#\nusing ricaun.AutoCAD.UI;\nusing Autodesk.AutoCAD.Runtime;\n\n[assembly: ExtensionApplication(MyExtensionApp)]\n\npublic class MyExtensionApp : ExtensionApplication\n{\n    public override void OnStartup(RibbonControl ribbonControl)\n    {\n        ribbonControl.CreatePanel(\"MyPanel\");\n    }\n\n    public override void OnShutdown(RibbonControl ribbonControl)\n    {\n        ribbonControl.RemovePanel(\"MyPanel\");\n    }\n}\n```\n\n### RibbonExtension\n\nThe `RibbonExtension` class offers extension methods to create and manage ribbon panels, buttons, and other UI elements in AutoCAD.\n```C#\nusing ricaun.AutoCAD.UI;\nusing Autodesk.AutoCAD.Runtime;\n\n[assembly: ExtensionApplication(MyExtensionApp)]\n\npublic class MyExtensionApp : ExtensionApplication\n{\n    public override void OnStartup(RibbonControl ribbonControl)\n    {\n        var ribbonPanel = ribbonControl.CreatePanel(\"MyPanel\");\n\n        ribbonPanel.CreateButton(\"MyButton\")\n            .SetText(\"Click Me\")\n            .SetDescription(\"This is a button description\")\n            .SetToolTip(\"This is a button tooltip\")\n            .SetImage(\"Resources/image16-light.png\")\n            .SetLargeImage(\"Resources/image32-light.png\")\n            .SetCommand(() =\u003e \n            {\n                // Button click logic here\n            });\n    }\n\n    public override void OnShutdown(RibbonControl ribbonControl)\n    {\n        ribbonControl.RemovePanel(\"MyPanel\");\n    }\n}\n```\n\n### Ribbon Image - Theme Change Support\n\nThe `SetImage` and `SetLargeImage` methods automatically handle theme changes based in the key name `light` and `dark` in the image file names.\n\n```C#\nribbonPanel.CreateButton(\"MyButton\")\n    .SetImage(\"Resources/image16-light.png\") // If the theme is dark, it will use \"Resources/image16-dark.png\" internally\n    .SetLargeImage(\"Resources/image32-light.png\"); // If the theme is dark, it will use \"Resources/image32-dark.png\" internally\n```\n\nWhen the AutoCAD theme changes, the ribbon button images will automatically update to match the current theme.\n\n## Release\n\n* [Latest release](https://github.com/ricaun-io/ricaun.AutoCAD.UI/releases/latest)\n\n## License\n\nThis project is [licensed](LICENSE) under the [MIT License](https://en.wikipedia.org/wiki/MIT_License).\n\n---\n\nDo you like this project? Please [star this project on GitHub](https://github.com/ricaun-io/ricaun.AutoCAD.UI/stargazers)!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricaun-io%2Fricaun.autocad.ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricaun-io%2Fricaun.autocad.ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricaun-io%2Fricaun.autocad.ui/lists"}