Parents
  • Можно вернуть из PML (http://188.120.227.81/forum/index.php?showtopic=411):

    Aveva.Pdms.Utilities.CommandLine.Command command = Aveva.Pdms.Utilities.CommandLine.Command.CreateCommand("!!WNAME = !!collectallfor('TTFONT', '', world)");
    command.RunInPdms();
    var workName = 'WNAME'
    var value = default(object);
    var size = Convert.ToInt32(GetPmlExpression(string.Format("!!{0}.Size()", workName)).Value);


    var indexArrayVariable = GenerateRandomPmlString();
    var createIndexArray = Command.CreateCommand(string.Format("!!{0} = !!{1}.Indices()", indexArrayVariable, workName));
    if (createIndexArray.Run())
    {
       var tempArray = new List
Reply
  • Можно вернуть из PML (http://188.120.227.81/forum/index.php?showtopic=411):

    Aveva.Pdms.Utilities.CommandLine.Command command = Aveva.Pdms.Utilities.CommandLine.Command.CreateCommand("!!WNAME = !!collectallfor('TTFONT', '', world)");
    command.RunInPdms();
    var workName = 'WNAME'
    var value = default(object);
    var size = Convert.ToInt32(GetPmlExpression(string.Format("!!{0}.Size()", workName)).Value);


    var indexArrayVariable = GenerateRandomPmlString();
    var createIndexArray = Command.CreateCommand(string.Format("!!{0} = !!{1}.Indices()", indexArrayVariable, workName));
    if (createIndexArray.Run())
    {
       var tempArray = new List
Children
No Data