8 Replies Latest reply on Oct 22, 2018 9:23 AM by Ufuk Taskin

    PDM Add-in Does not show value on realtime

    Ufuk Taskin

      I made add-in that works when it presses the button on the card. But i have a problem.

      I write the values in winform with "setvar" command, but I cannot see them in realtime.

      I have to refresh the explorer.

                          IEdmEnumeratorVariable10 enumVariable = default(IEdmEnumeratorVariable10);
                          enumVariable = (IEdmEnumeratorVariable10)File.GetEnumeratorVariable();
                          string degiskenler = poCmd.mbsComment.Substring(5, poCmd.mbsComment.Length - 5);
                          string[] listeler = degiskenler.Split('|');
                          enumVariable.SetVar(listeler[1], "", Musterilerim);
                          int FolderID = 0;
                          FolderID = ((EdmCmdData)ppoData.GetValue(0)).mlObjectID2;
                          enumVariable.StoreValuesFromDatabase(FolderID,true,null); // I don't know exactly how it is used.