Macros Library


I’ll be adding adding macros here which might be helpful to SOLIDWORKS Users.

Everyone is welcome to use these macros under following Disclaimer:  —————————————————–‘

Following macro(s) are provided as is. No claims, support, refund, safety net, or warranties are expressed or implied. By using these macro(s) and/or their codes in any way whatsoever, the user and any entities which the user represents, agree to hold the authors free of any and all liability. Free distribution and use of the codes in other free works is welcome. You may redistribute it and/or modify it on the condition that this header is retained. All other forms of distribution (i.e., not free, fee for delivery, etc) are prohibited without the expressed written consent by the authors. Use at your own risk!
‘ ——————————————————————————

All macros will be updated/made for SOLIDWORKS 2015. In case you’re running a different version then update/correct the macro reference as suggested here (don’t worry on the fact that video is for fixing missing library error but check the process to update your macro library): Fix-Update SOLIDWORKS Macro References

Link to SOLIDWORKS Macro/Program Files

SOLIDWORKS Yacht Tutorial Free eBook


  1. Pradeep

    Hi Deepak, Do you have a macro to list all the configurations of a part/assembly in a table along with the required custom properties in a drawing? (Drawing will always have the one view of part/assembly for which configuration need to be listed)

  2. Carl S

    Do you have a macro to batch print and save as pdf a list of drawings (exit drawing without save)? or all drawings in a directory

    1. Deepak Gupta (Post author)

      Carl, sorry for a late response. You can use the task scheduler to take care of that. No need for a macro.

  3. barghav

    need a macro to open part drawing

    1. Deepak Gupta (Post author)

      Is the drawing in same folder/location as the model?

  4. barghav

    I need a macro that can change dimensions of any part file.please help me with this

  5. Pingback: SOLIDWORKS Program: Remove Part Appearances | Boxer's SolidWorks Blog

  6. Pingback: SOLIDWORKS Macro: Export Sheet Metal Part Configurations as DWG | Boxer's SolidWorks Blog

  7. Pingback: Color Calculator | Boxer's SolidWorks Blog

  8. Pingback: SOLIDWORKS Macro: Zoom to Sheet | Boxer's SolidWorks Blog

  9. Pingback: SOLIDWORKS Macro: Open Model From Active Drawing | Boxer's SolidWorks Blog

  10. Pingback: SOLIDWORKS Macro: Start Sketch on Default Planes | Boxer's SolidWorks Blog

  11. Pingback: SOLIDWORKS Program: Batch Delete Design Table Parts | Boxer's SolidWorks Blog

I'll be happy to know your views and opinions as this will help me to improve. You can share them as comments below.

%d bloggers like this: