Not knowing anything about macro and starting to look into the subject, I wondered what the limits of the maccros were?
Are they limited to Solidworks or can other Dassault Système products be included in the maccros?
Let me explain: If I want to create a maccro that saves my file in .sat and then opens this .sat in Draftsight with the /acisin command and then saves it again in .dwg, can it work or is it beyond the capabilities of a maccro?
Another example: since "save as pdf" doesn't work very well for me and I end up with a lot of graphic bugs, I print my MEPs with PDFcreator. Is it possible to print under pdf creator using a maccro?
With DraftSight, this will probably be possible with the pro version, because the standard version does not support a LISP routine (the language of SolidWorks is the VBA).
AutoCAD can use VBA too, so should be able to do that. But it will be easier to do it in 2 steps: a macro in SolidWorks, one in AutoCAD (but probably not impossible in a single program with VB.NET).
In fact, VBA stands for Visual Basic for Application.
It is also used for the entire Microsoft Office suite (Excel, Outlook, etc.), and many other software.
So, @remrem, well actually yes, solidworks can record in .dwg but not in 3D .dwg!! you have to go through an ACIS format and draftsight to be able to reuse the 3D in autocad, hence the maccro I'm interested in;)
And @PL, is it possible to print with PDF Creator? I took this example because to print with pdf creator, before choosing the location of the file, a PDF creator window opens and you have to click on ok to then switch to the windows browser to choose your file and I was wondering if a macro could handle this...
PS: thank you for the remrem link and for the explanation of @PL ;)