Extra:
As you can see above, the Macro button has a generic icon image. If you want to apply a unique image for the Macro button, click “Choose Image” under “Appearance” in Step7. SOLIDWORKS provides bitmap images to use for custom buttons which can be found in install_dir\data\user macro icons.
(Eg. C:\Program Files\SOLIDWORKS 2020\SOLIDWORKS\data\user macro icons)
You can also create your own bitmap images that are 16×16 pixels, 256 colours, and with a white background.
In my case, the path is C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS\data\user macro icons
It only contains 14 icons.
Personally i “created” mine in PPT and then save as png then convert to bmp…
Most of the time i will get the “base icon” (eg: icon for Save, Dimension, Note, etc) from solidworks help page. After that change the icon colour using PPT recolour function so that it will not get confuse with the original icon. In some cases, i will add some additional symbol (eg: arrow for export, x for clear, etc)
image.png
Claude and I built a task pane do-hicky yesterday that will contain links to the VBA macro’s I use most frequently. It’s in CSharp, and I wish I could tell you more, but I’m completely in the dark about how it was done
If anyone is interested, I’ll zip up all the source and post it.
Anywho, I found this icon pack (it was originally a .bmp, but couldn’t upload that)
I like Arthur’s work on this subject. He also has many free resources; I know many people on this forum know about them, I just wanted to remind them, maybe someone would like to take a look.
What I usually do is use Paint. Actually, someone answered this before; macro icons have very poor visuals, especially in Switchboard. Excel is much better in this regard. Anyway, I’m looking forward to downloading and examining all the icons shared here.
I’ve been getting a lot of mine from https://www.flaticon.com/ recently. Sometimes need to experiment with search terms a bit to find one related to your macro function but I’m happy with the results I’ve been getting.