I am not able to get the result of command executed by c#, refer below code tries with .Result and also with the GetPMLVariableString(). please help me
Command labelSpreadCmd = Aveva.Core.Utilities.CommandLine.Command.CreateCommand("!eq = STRING() !eq Q FIND " + elementName + " IN " + sheetName);
labelSpreadCmd.RunInPdms();
Command getCommand = Command.CreateCommand("");
getCommand.RunInPdms();
string res = getCommand.GetPMLVariableString("!eq");