How to specify a file name when creating new component

Hello,

I want to automatically specify a file name based on my internal schema when the user creates a new component in the assembly. I tried using the FileNewNotify event but the document that I receive has no path yet.

SolidworksApi macros