Hymma.Solidworks
A collection of .NET libraries for building professional SolidWorks add-ins and extensions.
Quick Navigation
Getting Started
Learn how to create your first SolidWorks add-in using the Hymma framework.
API Reference
Complete API documentation generated from XML comments.
Addins.Fluent Guide
Build add-ins using the intuitive fluent API for cleaner, more readable code.
Extensions Reference
Explore the extension methods that simplify SolidWorks API interactions.
Packages
| Package | Description |
|---|---|
| Hymma.Solidworks.Interop | SolidWorks Interop library references |
| Hymma.Solidworks.Extensions | Extension methods for SolidWorks API |
| Hymma.Solidworks.Addins | Framework for native-looking SolidWorks add-ins |
| Hymma.Solidworks.Addins.Fluent | Fluent API wrapper for building add-ins |
Installation
# For the fluent API (recommended)
Install-Package Hymma.Solidworks.Addins.Fluent
# Or for the base add-in framework
Install-Package Hymma.Solidworks.Addins
# For extension methods only
Install-Package Hymma.Solidworks.Extensions
Quick Example
using Hymma.Solidworks.Addins.Fluent;
using System.Runtime.InteropServices;
[Guid("YOUR-GUID-HERE")]
[ComVisible(true)]
public class MyAddin : AddinMaker
{
public override AddinUserInterface GetUserInterFace()
{
return new AddinUserInterface(this)
.AddCommandTab()
.WithTitle("My Tab")
.AddCommandGroup()
.WithTitle("My Commands")
.Has()
.Commands(cmds => cmds
.Command("Do Something")
.OnClick(() => DoSomething()))
.SaveCommandGroup()
.SaveCommandTab();
}
}