US$0.00
0

Automatically Refresh Drawing Sheet Formats in SOLIDWORKS with VBA

Automatically Refresh Drawing Sheet Formats in SOLIDWORKS with VBA and An illustrative diagram showing a workflow from SOLIDWORKS to VBA automation. On the left, a red SOLIDWORKS logo sits above a technical drawing of a 3D mechanical part with dimensions and a red-outlined title block at the bottom. A large blue circular arrow with two white curved arrows inside points clockwise, indicating a refresh or update process. An arrow from the circle leads to a laptop on the right, whose screen displays VBA code: "Sub Sheet Format Refresh End Sub" with a VBA icon. The blue background and flow suggest that a SOLIDWORKS macro written in VBA is used to refresh or update the sheet format of drawings.
Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.

Managing large drawing sets in SOLIDWORKS often means working with inconsistent or outdated sheet formats. Whether due to legacy templates, changes in company standards, or imported files, it’s not uncommon to find drawing sheets that don’t match the expected formatting. This macro solves that by automatically refresh drawing sheet formats in SOLIDWORKS with VBA, ensuring every sheet stays aligned with the latest standards.

What This Macro Does

  • Loops through all sheets in an open drawing.
  • Detects each sheet’s paper size.
  • Clears any elements from the sheet format.
  • Replaces the current sheet format with a new one (in this case, a C-size format).
  • Saves the drawing once all sheets are processed.

When Should You Use It?

Need this adapted to your workflow?

We build custom SOLIDWORKS macros, add-ins and PDM automation.

Picture of Amen Jlili

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM.
0
0
Your Cart
Your cart is emptyReturn to Shop