Hi All,
How to get the Result of Command run by C# in Aveva E3D, I have used .Result Property getting null Value, Please help me
Thanks and Regards
Sagar M Keri
Hi All,
How to get the Result of Command run by C# in Aveva E3D, I have used .Result Property getting null Value, Please help me
Thanks and Regards
Sagar M Keri
Have you tried store result in pml variable as below example
Aveva.Core.Utilities.CommandLine.Command commandLineRun;
string commandString = string.Empty;
commandString = "VAR !!REMMODE MODE";
commandLineRun = Aveva.Core.Utilities.CommandLine.Command.CreateCommand(commandString);
commandLineRun.RunInPdms();
string Mode = commandLineRun.GetPMLVariableString("REMMODE");
Have you tried store result in pml variable as below example
Aveva.Core.Utilities.CommandLine.Command commandLineRun;
string commandString = string.Empty;
commandString = "VAR !!REMMODE MODE";
commandLineRun = Aveva.Core.Utilities.CommandLine.Command.CreateCommand(commandString);
commandLineRun.RunInPdms();
string Mode = commandLineRun.GetPMLVariableString("REMMODE");