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
}