Hello Everyone,
Actually i am trying but not able to solve the issue and issue is : My custom add-in developed in C# calling twice from PDM Vault .
- I prepared add-in on EdmCmd_PostState event.(when file state is changed in pdm it will call my addin)..
Code is like as below: -
public void OnCmd(ref EdmCmd poCmd, ref EdmCmdData[] ppoData)
{
IEdmVault5 edmVault = poCmd.mpoVault as IEdmVault5;
try
{
switch (poCmd.meCmdType)
{
case EdmCmdType.EdmCmd_PostState:// My Custom Code
break;
}
}}
Please help and let me know how can i prevent duplication or any alternative solution.
SolidworksApi/macros