Adding custom Windows Forms and WPF control into SOLIDWORKS Model View Manager using xCAD
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;