Solidworks C# Addin – Sending a string to a macro
Solidworks supports 2 types of VB macro files swp – newer version swb – older plain text macro, here’s an example of the empty swb macro : Dim swApp As Object Dim swModel As SldWorks.ModelDoc2 Sub main() Set swApp = Application.SldWorks Set swModel = swApp.ActiveDoc End Sub If you have access to the source code … Read more