Event for saving subcomponents

Hello,

I save an assembly with a modified part. Solidworks asks me to save both files, but the events "FileSaveNotify" and "FileSavePostNotify" are only triggered for the assembly. I suppose this is because the assembly is the active document, so only events for the assembly are fired. How can I trap the saving of the subcomponent?

Thanks in advance.

Regards,

Christian

SolidworksApi macros