Page 1 of 1

VBA macro to toggle white background in drawings

Posted: Tue Aug 31, 2021 8:24 am
by Eddy Alleman
On the SolidWorks forum someone asked how to make a macro that toggles between the default drawing background color and a white color.

The goal was to make it easier to capture images where a white background was required.

Here is a simple macro that does exactly that. I will also explain the basic buttons/shortcuts/menus you need.
ToggleWhiteBackground.png
ToggleWhiteBackground.png (4.88 KiB) Viewed 715 times
https://www.edalsolutions.be/index.php/ ... n-drawings
It will also appear on Codestack later on...

Eddy

Re: VBA macro to toggle white background in drawings

Posted: Tue Nov 02, 2021 8:55 am
by Eddy Alleman
As of today it is added to Codestack website.
https://www.codestack.net/solidworks-ap ... und-white/