API Instructions: Batch Convert Files

batch convert SOLIDWORKS models and drawings to another file format

Instructions: GoConvertFiles

This macro can be used to batch convert SOLIDWORKS models and drawings to another file format.  You can specify different file types for models and drawings and optionally append ‘Revision’ custom property to converted filename.


  • Place the GoConvertFiles.swp file to any location you desire.
  • You can edit the macro for code review from within SOLIDWORKS by selecting Tools> Macro>Edit. Browse to the location where you placed the macro file.


1. With a SOLIDWORKS open, select Tools>Macro>Run.
2. In the “Open” dialog box make sure the macro type is set as highlighted below

API instructions batch convert

3. Browse to the location where you placed the macro file and open it.
4. The “Filter files matching” textbox can be used to only convert files with filenames that match the text. You can use “*” as a wild card.  The default value is “*.sld*” which will convert all SOLIDWORKS files.
5. Specify the file type to convert models and drawings to.
6. Check the box “Append Revision to Filename“ if you want to append the revision custom property to the filename. The custom property must be named “Revision” or you can edit the macro to change the custom property used to retrieve the revision value.
7. Check the box “Convert References“ if you want to convert reference files that are not located in the same folder that the macro is processing.
8. Specify the folder to open and save the files to. Either manually enter in a directory path or click the “…” button to browse for a folder.  Browings for the “Open in Folder” will automatically update the “Save to Folder” to match.
9. Click the “Convert” button to convert the files or “Cancel” to exit the macro without converting any files.

API Instructions Batch Convert Files




Usage Agreement

The software/macro/customization is supplied “as is” and all use is at your own risk. GoEngineer disclaims all warranties of any kind, either express or implied, as to the features and functionality. Neither this agreement nor any documentation furnished under it is intended to neither express or imply any warranty that the operation of the software will be error‐free nor cause undesirable results on files that it is ran against. Under no circumstances shall GoEngineer be liable to any user for direct, indirect, incidental, consequential, special, or exemplary damages, arising from or relating to this agreement, the software, or users use or misuse of the software or any other services provided by GoEngineer. Such limitation of liability shall apply whether the damages arise from the use or misuse of the software or any other services supplied by GoEngineer (including such damages incurred by third parties), or errors of the software. Use of the software/macro/customization constitutes acceptance to this agreement.

Additional Resources

Take Advantage of GoEngineer’s Extensive Knowledge Base and Resources

GoEngineer Knowledge Base and website search

Find a Solution

Our robust Knowledge Base contains over 12,000 resources to help answer your product design questions. From basic CAD questions to in-depth guides and tutorials, find your solution here. Find a Solution

Get Certified Professional SOLIDWORKS Training at GoEngineer


Improve your skills with professional training and certifications in SOLIDWORKS, CAM, 3D Printing, and 3D Scanning offered four ways: self-paced, online, on-site, or in-classroom. Certified Training Courses

GoEngineer blog page


#1 Technical Resource Worldwide - Right at your fingertips. Search or browse through hundreds of SOLIDWORKS tips & tricks, additive manufacturing product developments, announcements, how-to guides, and tutorials. Blog

GoEngineer YouTube Channel

YouTube Channel

Our YouTube channel hosts hundreds of educational tutorials, product demonstrations, recorded webinars, and best practices for all of our products and services. GoEngineer's YouTube Channel

Order 3D printing materials and consumables from GoEngineer


Order 3D printing materials and consumables, enroll in SOLIDWORKS training classes, and buy official GoEngineer gear directly from our online store. Online Store

Free SOLIDWORKS tools offered from GoEngineer


Enjoy this collection of small ‘macros’ that were tailored to help our customers. These free SOLIDWORKS tools are for you to use, review, and modify. SOLIDWORKS Automation Tools

Webinars offered by GoEngineer


Our engineering webinars are hosted by some of the top experts in the industry. They are always recorded, always free, and always offer a live Q&A. WEBINARS

3D design and part printing services available at GoEngineer

3D Printing Services

Need to 3D print a part? Our Additive Manufacturing experts will 3D print your part and deliver it to you using the latest technology on one of our professional FDM, PolyJet, SL, or Metal 3D printers. 3D Printing Services