AnsweredAssumed Answered

SolidWorks 3D to Parasolid Macro

Question asked by Alex Denison on Mar 9, 2016
Latest reply on Mar 9, 2016 by Deepak Gupta

Hello, I am in need of assistance on how to write a macro that I can run in the SolidWorks Task Scheduler that will allow me to convert SW parts and assemblies to Parasolid without having to manually open over 600 parts and assemblies individually and waste 10's of hours of time.


My constraints are that I need to save each part and assembly (in each configuration) as Parasolid files. The Parts need to be named the same as the file name, but the assemblies need to be named with the file name followed by the configuration name (Ex: 400908-A2500-MAIN PHASE.x_t). The path that the code will be drawing the files from is the same as where it will be placing the final drawings for I will be sorting them manually.


I've read up a little bit and found that you can do a Save As to a Parasolid for both Parts and Assemblies, but the issues arises that I still need to open each part and save them and for each assembly I would still need to go through each configurations and save them separately. I have some training in coding, but I am unable to find anywhere that gives a list of commands/language that the SWTS uses.


Thanks in advance!