03-20-2019
12:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
03-20-2019
12:18 AM
Anything (ipts/iams/idw..) as standard check-in dialog.
Well this is where we got stuck
---------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualBasic;
using System.Windows.Forms;
using Autodesk.Connectivity.Explorer.Extensibility;
using Autodesk.DataManagement.Addin.Vault;
using Autodesk.Connectivity.WebServices;
using Autodesk.Connectivity.WebServicesTools;
using VDF = Autodesk.DataManagement.Client.Framework.Vault;
using Connectivity.InventorAddin.EdmAddin;
namespace MyProject.Classes
{
public class VaultEventHandler : Autodesk.Connectivity.WebServices.IWebServiceExtension
{
public void OnLoad()
{
//Autodesk.Connectivity.WebServices.DocumentService.CheckinFileEvents.Pre += new EventHandler<CheckinFileCommandEventArgs>(addfilerunlogic);
Autodesk.Connectivity.WebServices.DocumentService.CheckinFileEvents.Pre += CheckinFileEvents_Pre;
Autodesk.Connectivity.WebServices.DocumentService.CheckinFileEvents.Post += CheckinFileEvents_Post;
}
private void CheckinFileEvents_Pre(object sender, CheckinFileCommandEventArgs e)
{
MessageBox.Show("Pre - Check-in action");
}
public void CheckinFileEvents_Post(object sender, Autodesk.Connectivity.WebServices.CheckinFileCommandEventArgs e)
{
MessageBox.Show("Post - Check-in action");
}
}
}