I want to embed the SolidWorks model into my exe made by MFC,which API is relative? I mean,after parameterized modeling a part,I need to show the result on my own form,how to realize this function?
SolidworksApi macros
I want to embed the SolidWorks model into my exe made by MFC,which API is relative? I mean,after parameterized modeling a part,I need to show the result on my own form,how to realize this function?
SolidworksApi macros
Use OLE objects. Like you can paste SolidWorks model into a Word document as OLE object you can do the same in your MFC application. There is no any API function - this is Windows technology.
Alternatively you can use eDrawing viewer control on your form to view updated SolidWorks file. In this case install eDrawing API SDK.
____________________________________________________
Regards,
Artem Taturevych, Application Engineer at Intercad (Australia)
translationXpert – add-in to translate SolidWorks models
myIntercad – an integrated tool for SolidWorks Professionals
LinkedIn SolidWorks API Education Group
Thanks for giving me a direction!You've really been a big help for me!Have you ever done something like this before?I think I have some operating details to ask you.Of course,if you are convenient.