Reload Sheet Format Macro

I tried the macro listed in this post

https://forum.solidworks.com/thread/38707?tstart=0

is but it isn't quite what I want.

I am trying to get a macro that basically does the same as me right clicking on the current drawing sheet, clicking on properties, then clicking on reload. I only want to reload the current sheet of the current drawing that I am in.

I don't know if the macro needs to first find out what the current sheet format is and then reload that format or if I can just give it the reload command somehow and it just reloads the existing sheet format it already has.

Why am I doing this?

I have a macro already set up (thanks to those on here that helped me with it) that when I run it, it edits the sheet format, places an image (signature or stamp) at a specific scale and at a specific location on the drawing and then exits out of the sheet format. This works very well.

I then create a PDF of the drawing and then need to remove the image.

I found that the quickest and easiest way to remove the image from the drawing is the right click on the drawing, click properties, click reload. This removes the image for me.

Now I would just like to create a simple macro that does it for me.

Thanks in advance.

Garret

SolidworksApi macros