diff --git a/GsaGH/Components/5_Results/BeamDisplacements.cs b/GsaGH/Components/5_Results/BeamDisplacements.cs index 1884a767c..ba9ce0cca 100644 --- a/GsaGH/Components/5_Results/BeamDisplacements.cs +++ b/GsaGH/Components/5_Results/BeamDisplacements.cs @@ -146,7 +146,7 @@ protected override void SolveInternal(IGH_DataAccess da) { ReadOnlyCollection elementIds = result.ElementIds(elementlist); IElement1dResultSubset> resultSet = - result.BeamDisplacements.ResultSubset(elementIds, positionsCount); + result.Element1dDisplacements.ResultSubset(elementIds, positionsCount); List permutations = result.SelectedPermutationIds ?? new List() { 1, diff --git a/GsaGH/Parameters/5_Results/2_Results/GsaResult2.cs b/GsaGH/Parameters/5_Results/2_Results/GsaResult2.cs index 6a0229fbc..be59f0dc8 100644 --- a/GsaGH/Parameters/5_Results/2_Results/GsaResult2.cs +++ b/GsaGH/Parameters/5_Results/2_Results/GsaResult2.cs @@ -8,8 +8,10 @@ namespace GsaGH.Parameters.Results { public class GsaResult2 : IGsaResult { // Caches - public IElement1dResultCache> BeamDisplacements { get; private set; } - public INodeResultCache> NodeDisplacements { get; private set; } + public IElement1dResultCache> Element1dDisplacements { + get; + private set; + } public INodeResultCache> NodeDisplacements { get; private set; @@ -107,6 +109,7 @@ private void InitialiseAnalysisCaseResults( CaseId = caseId; CaseName = model.Model.AnalysisCaseName(CaseId); + Element1dDisplacements = new Element1dDisplacementCache(result); NodeDisplacements = new NodeDisplacementCache(result); NodeReactionForces = new NodeReactionForceCache(result, model.Model); NodeSpringForces = new NodeSpringForceCache(result); @@ -119,6 +122,7 @@ private void InitialiseCombinationsCaseResults( CaseId = caseId; SelectedPermutationIds = permutations.ToList(); + Element1dDisplacements = new Element1dDisplacementCache(result); NodeDisplacements = new NodeDisplacementCache(result); NodeReactionForces = new NodeReactionForceCache(result, model.Model); NodeSpringForces = new NodeSpringForceCache(result);