resultReader = result.GetResultsData() contElemIds = resultReader.ContactElemIds lengths = resultReader.NumberValuesByElement(contElemIds) collector.SetAllIds(contElemIds, lengths)