Calling PDMW UI from the API

I wanted to make a custom pdmw check-in macro, but realizedthat creating one with as much functionality as the one already inplace would be a long project.

That being said, I want to do a few simple automated tasks before aclient checks in a document to the vault. My though was to have theclient start the macro, which does a few tasks, then triggers thepdmw check-in ui.

Is this possible? I tried using "record macro" but there were nosteps recorded.

Thanks
SamSolidworksApi macros