Sets all collector's values. The values have to be in the same order as the Ids array.
Remarks
Limitation:
For a shell or layer element with the position set to Top, Bottom, or Middle, the method SetValues must be used.
For a shell or layer element with the position set to Top/Bottom, the method SetAllValues can be used.
The method SetAllValues offers better performance when setting a large amount of data than the method SetValues.
Examples
Sets the result collector to get the stress
lengths = reader.NumberValuesByElement(collector.Ids)
stress_result = reader.GetResult("S")
values = stress_result.GetElementValues(collector.Ids,False)
collector.SetAllValues(values, lengths)