Actually there is no maxscript in my case, but thanks anyway
I managed to raise a callback from the first plugin and register the second plugin to that callback
GlobalInterface.Instance.BroadcastNotification(SystemNotificationCode.PreExport, filePaths);
in the second plugin I grab the callback with
IGlobal global = Autodesk.Max.GlobalInterface.Instance;
IInterface18 ip = global.COREInterface18;
if (!callbackRegistered)
{
this.fileSaveHandler = new GlobalDelegates.Delegate5(this.Global_PreFileSave);
GlobalInterface.Instance.RegisterNotification(this.fileSaveHandler, null,SystemNotificationCode.PreExport);
callbackRegistered = true;
}
Now the problem is that i need to retrieve an object between these two plugins