xCAD.NET

Free and open-source .NET framework for building CAD add-ins, property manager pages, custom features and stand-alone applications

xCAD.NET is a framework for building applications for SOLIDWORKS and other CAD systems in .NET (C# and VB.NET). It removes the boilerplate code required by the native CAD APIs and lets developers concentrate on the business logic of their add-ins and stand-alone applications.

The framework is designed with SOLID principles in mind, provides type safety and a single point of maintenance, which makes the applications easier to scale and maintain. xCAD.NET is free and open-source under the MIT license.

Key features

Add-ins and commands

Create the add-in skeleton, commands, menus and toolbars with a few lines of code. Subscribe to events and access the document data

Property Manager Pages

Build native property manager pages with data binding. Text boxes, number boxes, combo boxes, selection boxes, options, buttons, bitmaps, tabs, groups and custom WPF or Windows Forms controls

Custom features

Develop fully parametric macro features with regeneration, edit definition, parameters, selections, edit bodies and dimensions

Panels

Host your own user interface in the Feature Manager tab, model view tab, task pane or popup windows

Documents and data storage

Manage documents, handle common events and store third-party data within the CAD files using streams and storages

CAD-agnostic API

Write the code once against the abstraction layer and still access the native API objects (such as ISldWorks and IModelDoc2) when needed

Project templates

Start new projects in seconds with templates for Visual Studio and VS Code

Deployment

Target multiple CAD versions, localize your application and create installers

Supported CAD systems

Getting started

xCAD.NET is distributed as NuGet packages. Install the package for your CAD system into your .NET project:

Package Description
Xarial.XCad.SolidWorks SOLIDWORKS add-ins and stand-alone applications
Xarial.XCad.SwDocumentManager Reading and writing SOLIDWORKS files without SOLIDWORKS
Xarial.XCad.Inventor Autodesk Inventor applications
Xarial.XCad.Templates Project templates for Visual Studio and VS Code

Explore the examples on GitHub to see xCAD.NET in action.

Ready to try xCAD.NET?
Find the full documentation, downloads and release notes on the product website.
Visit xcad.net

Other products

CAD+ Toolset
Go beyond the capabilities of your CAD software with CAD+. A unique collection of SOLIDWORKS tools for batch processing, assembly, drawings, geometry automation, and much more
Learn more
CodeStack
Improve your CAD development skills and the design process by accessing hundreds of samples and tutorials. Download ready-to-use SOLIDWORKS macros to improve your performance
Learn more
Docify
Make technical documentation, user guides, and blogs with ease using Docify. This simple-to-use, content-oriented static site generator lets you create and maintain awesome web pages
Learn more
xToolkit
A collection of functions, utility classes, and UI/WPF controls all in one place to streamline your software development in .NET. xToolkit is free and open-source
Learn more