Double[] IResult.GetElementValues(IEnumerable<Int32> elementIds, Boolean computeMidSideNodes)

Gets the result's element values for the given list of element indices.

Remarks

Limitation: The method GetElementValues( elementIds, computeMidSideNodes) does not support shell and layer elements. Please, use the method GetElementValues(int elementId) in this case.

Examples

Gets the stress for a list of elements. lengths = reader.NumberValuesByElement(collector.Ids) stress_result = resultReader.GetResult("S") values = stress_result.GetElementValues(collector.Ids,False) collector.SetAllValues(lengths, values)

Parameters

  • elementIds
    Type: IEnumerable<Int32>
    The list of element indices.
  • computeMidSideNodes
    Type: Boolean
    boolean equal to true if the computation of the results at the midside nodes is required.

Return Value

Type: Double[]
Returns the result's element values in the same order as the elementIds array.