Hello
My problem is the following:
I have a part on Solidworks in which I insert a part family via an existing file. This one is set, but to "validate" it is necessary to click on the graphic area. The problem is that I have this manipulation done via a macro, and I can't find how to simulate this famous click on the graphics area via VBA.
If someone has the solution, I would be very interested.
Thanks in advance!
PS: here is the code of my macro (it works very well except that I can't find it for the click)
Sub chgt_famille()
Dim swApp As SldWorks.SldWorks, swModel As SldWorks.ModelDoc2, retVal As Boolean
Set swApp = CreateObject("SldWorks.Application")
Set swModel = swApp.ActiveDoc
retVal = swModel.InsertFamilyTableOpen("Z:\famille.xlsx")
End Sub