{"id":18153948,"url":"https://github.com/chuongmep/cadaddinmanager","last_synced_at":"2025-04-07T06:11:24.939Z","repository":{"id":46271772,"uuid":"486283415","full_name":"chuongmep/CadAddinManager","owner":"chuongmep","description":"Cad AddinManager update .NET assemblies without restart Autocad and Civil3D for developer. ","archived":false,"fork":false,"pushed_at":"2025-03-04T07:45:47.000Z","size":1601,"stargazers_count":90,"open_issues_count":0,"forks_count":21,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-03-30T17:46:08.678Z","etag":null,"topics":["addinmanager","autocad","autocad-api","autocadapi","autodesk","bim","cad","cadaddinmanager","cadapi","cadmanager","civil3d"],"latest_commit_sha":null,"homepage":"https://chuongmep.com/posts/2022-04-28-CAD-Civil3D-Addin-Manager.html","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/chuongmep.png","metadata":{"files":{"readme":"Readme.MD","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"License.md","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2022-04-27T17:10:00.000Z","updated_at":"2025-03-29T08:59:25.000Z","dependencies_parsed_at":"2024-04-28T05:21:49.642Z","dependency_job_id":"495b0138-295a-4d20-b6f3-8b7c22eff1b4","html_url":"https://github.com/chuongmep/CadAddinManager","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuongmep%2FCadAddinManager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuongmep%2FCadAddinManager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuongmep%2FCadAddinManager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chuongmep%2FCadAddinManager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chuongmep","download_url":"https://codeload.github.com/chuongmep/CadAddinManager/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601448,"owners_count":20964864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["addinmanager","autocad","autocad-api","autocadapi","autodesk","bim","cad","cadaddinmanager","cadapi","cadmanager","civil3d"],"created_at":"2024-11-02T03:08:31.081Z","updated_at":"2025-04-07T06:11:24.933Z","avatar_url":"https://github.com/chuongmep.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cad Add-in Manager\n\n![Autocad API](https://img.shields.io/badge/Autocad%20API%202025-blue.svg) ![Platform](https://img.shields.io/badge/platform-Windows-lightgray.svg) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n![ReSharper](https://img.shields.io/badge/ReSharper-2023.3.3-yellow) ![Rider](https://img.shields.io/badge/Rider-2023.1.2-yellow) ![Visual Studio 2022](https://img.shields.io/badge/Visual_Studio_2022_Preview_2.0-17.1.0-yellow) ![.NET Framework](https://img.shields.io/badge/.NET_8.0-yellow)\n\n[![Publish](../../actions/workflows/Workflow.yml/badge.svg)](../../actions)\n[![Github All Releases](https://img.shields.io/github/downloads/chuongmep/cadaddinmanager/total?color=blue\u0026label=Download)]()\n[![HitCount](https://hits.dwyl.com/chuongmep/cadaddinmanager.svg?style=flat-square)](http://hits.dwyl.com/chuongmep/cadaddinmanager)\n\u003ca href=\"https://twitter.com/intent/follow?screen_name=chuongmep\"\u003e\n\u003cimg src=\"https://img.shields.io/twitter/follow/chuongmep?style=social\u0026logo=twitter\"\nalt=\"follow on Twitter\"\u003e\u003c/a\u003e\n\n![](pic/CadAddinManagerBackground.png)\n\n## 💖 Support This Project\n\nIf you like this project and want to support its development, please consider making a donation. Your contributions will help us continue to improve and maintain the project.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://donate.stripe.com/7sI8yo9xI03J4UwcMQ\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Donate-Stripe-blue?style=for-the-badge\u0026logo=stripe\" alt=\"Donate with Stripe\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Summary\n\n![AddinManager](pic/Addin.png)\n\nUsually, when developing and debugging an addin with **Autocad** or **Civil3D** API, user has to close \u0026 re-open **Autocad** or **Civil3D** each time\nhe/she modifies the addin code and wants to re-compile. But with **Add-In Manager**, user can modify and run the Addin.\ndirectly without closing \u0026 re-opening **Autocad** or **Civil3D** again and again.This is a next branch from [Revit Addin Manager](https://github.com/chuongmep/RevitAddInManager)\nto support multiple platform API for developer. With current technology, you can use [Hot Reload](https://docs.microsoft.com/en-us/visualstudio/debugger/hot-reload?view=vs-2022) to speed it up.But try this project it will be faster with any Addin.\n\n- [x] [Revit Add-In Manager](https://github.com/chuongmep/RevitAddInManager)\n\n- [x] [Navis Add-In Manager](https://github.com/chuongmep/NavisAddInManager)\n\n- [x] [Cad Add-In Manager](https://github.com/chuongmep/CadAddInManager)\n\n\nSome feature include:\n- A newbie can create a new Add-in and explore **AutoCAD or Civil3D API** easy with Add-in manager.\n- Add-in tester(use Debug and Trace to test your add-in).\n- **Debug / Trace** : Support Show result use [Debug](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debug?view=net-6.0) or [Trace](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.trace?view=net-6.0) to show result in Autocad or Civil3D.\n- Add-in manager\n    - AddInManager Manual : Use for normal process load/unload addin\n    - AddInManager Faceless : use for load last process before addin without UI\n- Allow user know whether plugin can load successfully or not.\n- \u003ckbd\u003eF5\u003c/kbd\u003e - Load fresh plugin don't need load again.\n- \u003ckbd\u003eF1\u003c/kbd\u003e - Go link open source report some error,bug or feature request.\n- \u003ckbd\u003eDelete\u003c/kbd\u003e - Quick remove by use right click or use from keyboard.\n- \u003ckbd\u003eCrt + MouseWheel\u003c/kbd\u003e - Zoom in/out by use mouse wheel in command plugin.\n- \u003ckbd\u003eArrow Up\u003c/kbd\u003e - Move from TreeView to search.\n- \u003ckbd\u003eArrow Down\u003c/kbd\u003e - Move from search to TreeView.\n- \u003ckbd\u003eEsc\u003c/kbd\u003e - Quick Close Add-in Manager.\n- \u003ckbd\u003eEnter\u003c/kbd\u003e - Quick Run Execute a command selected in Add-in Manager.\n## Add-In Manager\n\n![](pic/AddinManager.gif)\n\n### Command\n\n- [x] AddInManagerManual\n- [x] AddInManagerFaceless\n\nExecute a command easily  :\n 1. Create a class library use .NET\n\n 2. Add library Autocad API or Civil3D API\n\n 3. Create a command, example:\n\n ```cs\n    [CommandMethod(\"DoSomething\")]\n    public void Execute()\n    {\n        // do some thing code here\n    }\n ```\n 4.Load To Add-in Manager.\n\n 5.Double click to run command.\n\n 6.Use faceless when you change code or rebuild.\n\n### Lisp Function\nExecute a Lisp Function easily  :\n1. Create a class library use .NET\n\n2. Add library Autocad API or Civil3D API\n\n3. Create a Lisp Function, example:\n\n ```cs\n    [LispFunction(\"DisplayFullName\")]\n    public static void DisplayFullName(ResultBuffer rbArgs)\n    {\n        if (rbArgs != null)\n        {\n            string strVal1 = \"\";\n            string strVal2 = \"\";\n            int nCnt = 0;\n            foreach (TypedValue rb in rbArgs)\n            {\n                if (rb.TypeCode == (int) LispDataType.Text)\n                {\n                    switch (nCnt)\n                    {\n                        case 0:\n                            strVal1 = rb.Value.ToString();\n                            break;\n                        case 1:\n                            strVal2 = rb.Value.ToString();\n                            break;\n                    }\n                    nCnt = nCnt + 1;\n                }\n            }\n            Application.DocumentManager.MdiActiveDocument.Editor.WriteMessage(\"\\nName: \" + strVal1 + \" \" + strVal2);\n            MessageBox.Show(\"Updated\");\n        }\n    }\n ```\n4.Load To Add-in Manager.\n\n5.Use Reload when you change code or rebuild.\n\n6.Run Lisp Function [example](https://github.com/chuongmep/CadAddinManager/blob/9982d2a2b32591f508c0ce0e55e0d636ba38092c/Test/FunctionLispTest.cs#L9-L34) : `(displayfullname \"First\" \"Last\") `\n\n### Trace/Debug\n\n- [x] Show/Hide result inside Dockpanel Autocad and Civil3D.\n- [x] Show Result history inside CadAddinManager.\n- [x] Clear Result.\n- [X] Show Result by color.\n\nA sample command to execute:\n```csharp\nusing System.Diagnostics;\nusing Autodesk.AutoCAD.Runtime;\npublic class DebugTraceTest\n{\n    [CommandMethod(\"DebugTraceTest\")]\n    public void Action()\n    {\n        //Trace or Debug Something\n        Trace.WriteLine($\"Warning: This is a warning\");\n        Trace.WriteLine($\"Error: This is a error\");\n        Trace.WriteLine($\"Add: This is a add\");\n        Trace.WriteLine($\"Modify: This is a modify\");\n        Trace.WriteLine($\"Delete: This is a delete\");\n    }\n}\n```\n![](pic/DockPanelOutput.png)\n\n## Installation\n\nPlease follow last release at section [Release](https://github.com/chuongmep/CadAddInManager/releases/latest)\n\nSupport Autocad or Civil3D Version : 2020, 2021, 2022, 2023, 2024, 2025\n---\n\n## Guideline\n\nYou can visit to wiki and read document or access by this [link](https://github.com/chuongmep/CadAddInManager/wiki).\n\n---\n\n## Author\n\nOriginally implemented by [ChuongHo](https://github.com/chuongmep) with platform **WPF** and add more feature to fit\nwith the progressive development of modern technology. His focus is to work smarter and achieve the most effective\npractices to enhance data utilization and digital collaboration among AEC parties.\n\n---\n\n## License\n\nThis sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see\nthe [License](License.md) file for full details.\n\n---\n\n## Contribute\n\n**Add-In Manager** is an open-source project and would _be_ nothing without its community. You can make suggestions or\ntrack and submit bugs via Github [issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue). You can submit your own code to the **Add-In Manager** project via a\nGithub [pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)\n.\n\nMany Thanks all contributors for this repository. Feel free to contribute!\nPlease refer to the [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n\u003ca href = \"https://github.com/chuongmep/CadAddInManager/graphs/contributors\"\u003e\n  \u003cimg src = \"https://contrib.rocks/image?repo=chuongmep/CadAddInManager\"/\u003e\n\u003c/a\u003e\n\n---\n\n## Sponsors\n\n![](pic/jetbrains.png)\n\nThanks for providing a free All product IDE for this project.\n\n---\n\n## Credits\n\n- Credit to [Chuongmep](https://github.com/chuongmep)\n- Credit to [icons8.com](https://icons8.com) for the Cad Add-in Manager icons.\n- Credit to [Nice3point](https://github.com/Nice3point) for the CI/CD template.\n\n## Known Issues\n\n- [Ribbon not show when open startup Autocad or Civil3d](https://github.com/chuongmep/CadAddinManager/wiki/Fix-Problem-Ribbon-Not-Show).\n\n- Cad Add-in Manager current not support for some product custom of Autocad like **CadMEP** or **Advance steel**.\n\n## Learning Resources\n\n- \u003ca href=\"https://adndevblog.typepad.com/autocad/\" target=\"_blank\"\u003eADN Dev Blog\u003c/a\u003e\n- \u003ca href=\"https://www.autodesk.com/developer-network/platform-technologies/autocad\" target=\"_blank\"\u003eAutoCAD Developer Center\u003c/a\u003e \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuongmep%2Fcadaddinmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuongmep%2Fcadaddinmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuongmep%2Fcadaddinmanager/lists"}