0

I am novice at catia v6 macro development. I have already develop some macro like traverse spec tree, update document id etc at c# and vba.

I need to know how to catch event while saving a document. Suppose I have to update some properties automatically while saving the document.

The code should be like this...

CATIA.ActiveDocument.BeforeSave += BeforeSaveMethod;
Private void BeforeSave(object sender, EventArgs e)
{
   //do something
}
Monowar
  • 106
  • 5
  • I did not found event BeforeSave or something like that. Please tell me how to find it or any other workaround. – Monowar Jun 21 '18 at 12:22
  • See this answer: [EventClassModule to Intercept Word Application Events](https://stackoverflow.com/questions/31054965/word-vba-documentbeforesave-event/39551858) – Stringly Jun 21 '18 at 14:49
  • @Stringly, This solution does not work for me. I am using Catia applicationn. – Monowar Jun 25 '18 at 12:33

0 Answers0