delete photoworks display states

I'm looking for a macro to delete any photoworks display state in an assembly before I attempt to fumble through creating one I thought I would ask if anyone has one already. it's in relation to this post https://forum.solidworks.com/message/24853#24853

so if anyone has one that they would be so kindly willing to share I would appreciate it

SolidworksApi macros