How angelsix/solidworks-api works
SolidDNA is a C# framework that wraps the SOLIDWORKS API and provides add-in integration plus higher-level APIs for working with the application and its models. A user can start from a SOLIDWORKS add-in or the standalone template, connect through the integration layer, and use framework wrappers to interact with SOLIDWORKS; command UI and localization are additional capabilities. The excerpts show integration and command-manager relationships, but most model-domain implementations were not sampled, so their internal call paths are not inferred.
Main entry points: AddInIntegration.cs Add-in Integration · Model.cs Model Wrapper · CommandManager.cs Command Manager · CommandManagerGroup.cs Command Groups
Components 22
SOLIDWORKS Integration
- Add-in Integration
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/AddIn/AddInIntegration.cs - Plug-in Loading
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/PlugInIntegration.cs - AppDomain Boundary
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/AppDomainBoundary.cs - Application Wrapper
SolidDna/AngelSix.SolidDna/SolidWorks/Application/SolidWorksApplication.cs
Command UI
- Command Manager
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/CommandManager.cs - Command Groups
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Group/CommandManagerGroup.cs - Command Items
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Item/CommandManagerItem.cs - Command Flyouts
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Flyout/CommandManagerFlyout.cs - Command Tabs
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Tab/CommandManagerTab.cs
Model API
- Model Wrapper
SolidDna/AngelSix.SolidDna/SolidWorks/Models/Model.cs - Model Documents
SolidDna/AngelSix.SolidDna/SolidWorks/Models/Documents - Feature API
SolidDna/AngelSix.SolidDna/SolidWorks/Models/Feature - Selection Manager
SolidDna/AngelSix.SolidDna/SolidWorks/SelectionManager/ModelSelectionManager.cs - Taskpane API
SolidDna/AngelSix.SolidDna/SolidWorks/Taskpane/Taskpane.cs
Framework Services
- COM Object Wrappers
SolidDna/AngelSix.SolidDna/SolidWorks/Core/SolidDnaObject.cs - Localization
SolidDna/AngelSix.SolidDna/Localization/Implementation/LocalizationManager.cs - Resource Providers
SolidDna/AngelSix.SolidDna/Localization/Implementation/FormatProviders/XmlFormatProvider.cs - Dependency Injection
SolidDna/AngelSix.SolidDna/DependencyInjection/IoCContainer.cs - Error Handling
SolidDna/AngelSix.SolidDna/Errors/SolidDnaErrors.cs
Other components
- Add-in Developer
- Standalone Template
Templates/SolidDNA.StandAlone/SolidDNA.StandAlone/Program.cs - SOLIDWORKS
Connections 19
- Add-in Developer → Add-in Integration: implements
- Standalone Template → Add-in Integration: connects via
Templates/SolidDNA.StandAlone/SolidDNA.StandAlone/Program.cs - Add-in Integration → SOLIDWORKS: connects
- Add-in Integration → Plug-in Loading: sets up
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/AddIn/AddInIntegration.cs - Add-in Integration → AppDomain Boundary: sets up
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/AddIn/AddInIntegration.cs - Plug-in Loading → Add-in Integration: configures app
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/PlugInIntegration.cs - Add-in Integration → Application Wrapper: initializes
SolidDna/AngelSix.SolidDna/SolidWorks/Integration/AddIn/AddInIntegration.cs - Command Manager → Command Groups: creates
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/CommandManager.cs - Command Groups → Command Items: adds
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Group/CommandManagerGroup.cs - Command Groups → Command Flyouts: configures
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Group/CommandManagerGroup.cs - Command Manager → Command Tabs: returns
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/CommandManager.cs - Command Flyouts → Plug-in Loading: listens for callbacks
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/Flyout/CommandManagerFlyout.cs - Model Wrapper → Model Documents: provides
- Model Wrapper → Feature API: provides
- Model Wrapper → Selection Manager: provides
- Model Wrapper → Taskpane API: supports
- Localization → Resource Providers: queries providers
SolidDna/AngelSix.SolidDna/Localization/Implementation/LocalizationManager.cs - Localization → Dependency Injection: accesses through
SolidDna/AngelSix.SolidDna/Localization/Implementation/LocalizationManager.cs - Command Manager → COM Object Wrappers: inherits wrappers
SolidDna/AngelSix.SolidDna/SolidWorks/CommandManager/CommandManager.cs