Search found 3 matches
- Thu May 27, 2021 9:50 pm
- Forum: API
- Topic: Macro insert hole with position mate with a sketch ?
- Replies: 1
- Views: 591
Macro insert hole with position mate with a sketch ?
I'm try to build a model macro to do that, insert a center rectangle sketch, then inset hole by HoleWizard5, which hole center mate with the rectangle sketch, so I can change the rectangle size to update hole position. As if I draw the hole manually, In solidworks UI, it would set the coincident aut...
- Mon May 17, 2021 11:15 am
- Forum: API
- Topic: Solidworks Addin System.Windows.Data Error: 4
- Replies: 2
- Views: 814
Re: Solidworks Addin System.Windows.Data Error: 4
I get the same error with some of my controls but it appears to be a WPF thing. The following link might help, but the errors are "harmless" according to a few sources I am finding. https://weblogs.asp.net/akjoshi/resolving-un-harmful-binding-errors-in-wpf Hi AlexB, So much thanks to your...
- Mon May 17, 2021 2:39 am
- Forum: API
- Topic: Solidworks Addin System.Windows.Data Error: 4
- Replies: 2
- Views: 814
Solidworks Addin System.Windows.Data Error: 4
Here occurs a error when I debug the AddIn, the error is like this: System.Windows.Data Error: 4 : Cannot find source for binding with reference 'RelativeSource FindAncestor, AncestorType='System.Windows.Controls.ItemsControl', AncestorLevel='1''. BindingExpression:Path=HorizontalContentAlignment; D...