XCAD.NET
XCAD.NET
Framework for .NET (C# and VB.NET) to create modern application for CAD systems (SOLIDWORKS)
Get technical support Access source code Explore code and application examples

Adding custom Windows Forms and WPF control into SOLIDWORKS Model View Manager using xCAD


Custom Model View Manager Tab
Custom Model View Manager Tab

xCAD framework allows to add custom Windows Forms controls and WPF controls into Model View Manager tabs.

This functionality is only available for Part and Assembly documents

Decorate the control classes with TitleAttribute to assign a tab name.

var winFormModelViewTab = CreateDocumentTab<WinFormControl>(Application.Documents.Active);
WinFormControl winFormModelViewCtrl = winFormModelViewTab.Control;

var wpfModelViewTab = CreateDocumentTab<WpfControl>(Application.Documents.Active);
WpfControl wpfModelViewTabCtrl = wpfModelViewTab.Control;


Powered by Docify