Is it possible to catch Check-In event in solidworks PDM client(solidworks side) without PDM AddIn

Hi my Solidworks/PDM Addin developers,

Actually, I created a simple Solidworks addin to capture some properties from the file and also the user using the Solidworks PDM as their PDM system.

Without creating the new Solidworks PDM Addin, is there any way to catch the PDM client (Solidworks )check-in event in my Solidworks addin based on that , I will capture check-in file details like properties and version.

I knew, we can achieve this using creating the Solidworks PDM Add-in. But I noticed few APIs from PDM client (ConisioSW2Lib) side exposed some APIs to do check-in and Check-out .

Please help me solve this issue.

In short no, I don’t think so. But it sounds like you already have an add-in you are using. If so, you can add a hook for the pre or post unlock (check-in)
poCmdMgr.AddHook(EdmCmdType.EdmCmd_PreUnlock, null); poCmdMgr.AddHook(EdmCmdType.EdmCmd_PostUnlock, null);

1 Like