From 5570778656025aadaeca9254f76cd2dac4863405 Mon Sep 17 00:00:00 2001 From: Kristjan Nielsen Date: Thu, 12 Oct 2023 22:53:19 +0200 Subject: [PATCH 1/4] Change logging to Diagram type --- GsaGH/Components/6_Display/ReactionForceDiagrams.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GsaGH/Components/6_Display/ReactionForceDiagrams.cs b/GsaGH/Components/6_Display/ReactionForceDiagrams.cs index 3c011ad63..5419175e4 100644 --- a/GsaGH/Components/6_Display/ReactionForceDiagrams.cs +++ b/GsaGH/Components/6_Display/ReactionForceDiagrams.cs @@ -227,8 +227,7 @@ GsaResultsValues forceValues }); SetOutputs(da, reactionForceVectors, annotations); - PostHog.Result(result.Type, 0, GsaResultsValues.ResultType.Force, - _selectedDisplayValue.ToString()); + PostHog.Diagram("Result", result.Type, "ReactionForce", _selectedDisplayValue.ToString(), Parameters.EntityType.Element); } private double ComputeAutoScale(GsaResultsValues forceValues, BoundingBox bbox) { From b2260fbe71914763733e02e8cd5f68d3a2b6fa9d Mon Sep 17 00:00:00 2001 From: Kristjan Nielsen Date: Thu, 12 Oct 2023 22:53:45 +0200 Subject: [PATCH 2/4] Change CaseType Load to LoadCase for consistency --- GsaGH/Helpers/PostHog.cs | 2 +- GsaGH/Parameters/Enums/CaseType.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GsaGH/Helpers/PostHog.cs b/GsaGH/Helpers/PostHog.cs index 417db1f6b..480ceba2c 100644 --- a/GsaGH/Helpers/PostHog.cs +++ b/GsaGH/Helpers/PostHog.cs @@ -31,7 +31,7 @@ internal static void Diagram(string diagramType, CaseType caseType, string type, internal static void Diagram( string diagramType, string caseId, string type, List subTypes, EntityType entityType) { - CaseType caseType = caseId.StartsWith("L") ? CaseType.Load + CaseType caseType = caseId.StartsWith("L") ? CaseType.LoadCase : caseId.StartsWith("A") ? CaseType.AnalysisCase : CaseType.Combination; List subType = subTypes.ConvertAll(x => x.ToString()); Diagram(diagramType, caseType, type, string.Join(";", subTypes), entityType); diff --git a/GsaGH/Parameters/Enums/CaseType.cs b/GsaGH/Parameters/Enums/CaseType.cs index 987871fbc..6d7665491 100644 --- a/GsaGH/Parameters/Enums/CaseType.cs +++ b/GsaGH/Parameters/Enums/CaseType.cs @@ -1,6 +1,6 @@ namespace GsaGH.Parameters { public enum CaseType { - Load, + LoadCase, AnalysisCase, Combination } From 20131c25ebe14b57eb7fa07eef14578f18e5252f Mon Sep 17 00:00:00 2001 From: Kristjan Nielsen Date: Thu, 12 Oct 2023 22:55:16 +0200 Subject: [PATCH 3/4] Change CaseType Combination to CombinationCase for consistency --- GsaGH/Components/5_Results/FootfallResults.cs | 2 +- GsaGH/Components/5_Results/GetResult.cs | 8 ++++---- .../5_Results/GlobalPerformanceResults.cs | 2 +- GsaGH/Components/5_Results/SelectResults.cs | 20 +++++++++---------- .../5_Results/TotalLoadsAndReactions.cs | 2 +- .../Components/6_Display/Contour1dResults.cs | 4 ++-- .../Components/6_Display/Contour2dResults.cs | 4 ++-- .../Components/6_Display/Contour3dResults.cs | 4 ++-- .../6_Display/ContourNodeResults.cs | 4 ++-- GsaGH/Components/6_Display/ResultDiagrams.cs | 4 ++-- .../Elem1dContourResults_OBSOLETE.cs | 4 ++-- .../Elem2dContourResults_OBSOLETE.cs | 4 ++-- .../NodeContourResults_OBSOLETE.cs | 4 ++-- GsaGH/Helpers/PostHog.cs | 2 +- GsaGH/Parameters/5_Results/GsaResult.cs | 4 ++-- GsaGH/Parameters/Enums/CaseType.cs | 2 +- .../3_Components/5_Results/GetResultsTest.cs | 4 ++-- 17 files changed, 39 insertions(+), 39 deletions(-) diff --git a/GsaGH/Components/5_Results/FootfallResults.cs b/GsaGH/Components/5_Results/FootfallResults.cs index e52646cd6..d094281bf 100644 --- a/GsaGH/Components/5_Results/FootfallResults.cs +++ b/GsaGH/Components/5_Results/FootfallResults.cs @@ -54,7 +54,7 @@ protected override void SolveInstance(IGH_DataAccess da) { case GsaResultGoo goo: { result = goo.Value; - if (result.Type == CaseType.Combination) { + if (result.Type == CaseType.CombinationCase) { this.AddRuntimeError("Footfall Result only available for Analysis Cases"); return; } diff --git a/GsaGH/Components/5_Results/GetResult.cs b/GsaGH/Components/5_Results/GetResult.cs index 9ad3f37dd..1cc6e0a10 100644 --- a/GsaGH/Components/5_Results/GetResult.cs +++ b/GsaGH/Components/5_Results/GetResult.cs @@ -83,7 +83,7 @@ protected override void SolveInstance(IGH_DataAccess da) { if (type.ToUpper().StartsWith("A")) { resultType = CaseType.AnalysisCase; } else if (type.ToUpper().StartsWith("C")) { - resultType = CaseType.Combination; + resultType = CaseType.CombinationCase; } else { this.AddRuntimeError("Error converting input " + Params.Input[1].NickName + " to 'Analysis' or 'Combination'"); @@ -145,7 +145,7 @@ protected override void SolveInstance(IGH_DataAccess da) { break; - case CaseType.Combination: + case CaseType.CombinationCase: if (_combinationCaseResults == null) { _combinationCaseResults = model.Model.CombinationCaseResults(); if (_combinationCaseResults == null || _combinationCaseResults.Count == 0) { @@ -177,8 +177,8 @@ IReadOnlyDictionary> tempNodeCombResult } if (!_result.ContainsKey( - new Tuple(CaseType.Combination, caseId))) { - _result.Add(new Tuple(CaseType.Combination, caseId), + new Tuple(CaseType.CombinationCase, caseId))) { + _result.Add(new Tuple(CaseType.CombinationCase, caseId), new GsaResult(model, _combinationCaseResults[caseId], caseId, permutationIDs)); } diff --git a/GsaGH/Components/5_Results/GlobalPerformanceResults.cs b/GsaGH/Components/5_Results/GlobalPerformanceResults.cs index ca6703d18..7a3ef67e4 100644 --- a/GsaGH/Components/5_Results/GlobalPerformanceResults.cs +++ b/GsaGH/Components/5_Results/GlobalPerformanceResults.cs @@ -168,7 +168,7 @@ protected override void SolveInternal(IGH_DataAccess da) { case GsaResultGoo goo: { result = goo.Value; - if (result.Type == CaseType.Combination) { + if (result.Type == CaseType.CombinationCase) { this.AddRuntimeError("Global Result only available for Analysis Cases"); return; } diff --git a/GsaGH/Components/5_Results/SelectResults.cs b/GsaGH/Components/5_Results/SelectResults.cs index 78b2ff98c..91811d9ef 100644 --- a/GsaGH/Components/5_Results/SelectResults.cs +++ b/GsaGH/Components/5_Results/SelectResults.cs @@ -59,11 +59,11 @@ public override void SetSelected(int i, int j) { } case 0: { if (_selectedItems[i] == _type[1]) { - if (_resultType == CaseType.Combination) { + if (_resultType == CaseType.CombinationCase) { return; } - _resultType = CaseType.Combination; + _resultType = CaseType.CombinationCase; UpdateDropdowns(); } @@ -74,7 +74,7 @@ public override void SetSelected(int i, int j) { string.Join(string.Empty, _selectedItems[i].ToCharArray().Where(char.IsDigit))); if (newId != _caseId) { _caseId = newId; - if (_resultType == CaseType.Combination) { + if (_resultType == CaseType.CombinationCase) { UpdatePermutations(); } } @@ -187,8 +187,8 @@ protected override void SolveInternal(IGH_DataAccess da) { } } else if (type.ToUpper().StartsWith("C")) { _selectedItems[0] = _dropDownItems[0][1]; - if (_resultType != CaseType.Combination) { - _resultType = CaseType.Combination; + if (_resultType != CaseType.CombinationCase) { + _resultType = CaseType.CombinationCase; if (_dropDownItems.Count < 3) { _dropDownItems.Add(new List() { "All", @@ -213,7 +213,7 @@ protected override void SolveInternal(IGH_DataAccess da) { var ghACase = new GH_Integer(); if (da.GetData(2, ref ghACase)) { if (GH_Convert.ToInt32(ghACase, out int analCase, GH_Conversion.Both)) { - if (_resultType == CaseType.Combination && _caseId != analCase) { + if (_resultType == CaseType.CombinationCase && _caseId != analCase) { UpdatePermutations(); } @@ -267,7 +267,7 @@ protected override void SolveInternal(IGH_DataAccess da) { break; - case CaseType.Combination: + case CaseType.CombinationCase: if (_combinationCaseResults == null) { _combinationCaseResults = _gsaModel.Model.CombinationCaseResults(); if (_combinationCaseResults == null || _combinationCaseResults.Count == 0) { @@ -319,7 +319,7 @@ protected override void UpdateUIFromSelectedItems() { if (_selectedItems[0] == _type[0]) { _resultType = CaseType.AnalysisCase; } else if (_selectedItems[0] == _type[1]) { - _resultType = CaseType.Combination; + _resultType = CaseType.CombinationCase; } if (_selectedItems[1].ToLower() == "all") { @@ -363,7 +363,7 @@ private void UpdateDropdowns() { _dropDownItems[1] = cases; _selectedItems[1] = type[0] + _caseId.ToString(); - if (_resultType == CaseType.Combination) { + if (_resultType == CaseType.CombinationCase) { if (_dropDownItems.Count < 3) { _dropDownItems.Add(new List() { "All", @@ -390,7 +390,7 @@ private void UpdateDropdowns() { } private void UpdatePermutations() { - if (_resultType != CaseType.Combination) { + if (_resultType != CaseType.CombinationCase) { return; } diff --git a/GsaGH/Components/5_Results/TotalLoadsAndReactions.cs b/GsaGH/Components/5_Results/TotalLoadsAndReactions.cs index 5a6699801..9413f6514 100644 --- a/GsaGH/Components/5_Results/TotalLoadsAndReactions.cs +++ b/GsaGH/Components/5_Results/TotalLoadsAndReactions.cs @@ -142,7 +142,7 @@ protected override void SolveInternal(IGH_DataAccess da) { case GsaResultGoo goo: { result = goo.Value; - if (result.Type == CaseType.Combination) { + if (result.Type == CaseType.CombinationCase) { this.AddRuntimeError("Global Result only available for Analysis Cases"); return; } diff --git a/GsaGH/Components/6_Display/Contour1dResults.cs b/GsaGH/Components/6_Display/Contour1dResults.cs index 00e7d0a18..2d0a22a30 100644 --- a/GsaGH/Components/6_Display/Contour1dResults.cs +++ b/GsaGH/Components/6_Display/Contour1dResults.cs @@ -503,7 +503,7 @@ protected override void SolveInternal(IGH_DataAccess da) { case GsaResultGoo goo: { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: this.AddRuntimeWarning("Combination Case " + result.CaseId + " contains " + result.SelectedPermutationIds.Count + " permutations - only one permutation can be displayed at a time." @@ -512,7 +512,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; diff --git a/GsaGH/Components/6_Display/Contour2dResults.cs b/GsaGH/Components/6_Display/Contour2dResults.cs index 7048aad0f..16401d219 100644 --- a/GsaGH/Components/6_Display/Contour2dResults.cs +++ b/GsaGH/Components/6_Display/Contour2dResults.cs @@ -566,7 +566,7 @@ protected override void SolveInternal(IGH_DataAccess da) { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: this.AddRuntimeWarning("Combination Case " + result.CaseId + " contains " + result.SelectedPermutationIds.Count + " permutations - only one permutation can be displayed at a time." @@ -575,7 +575,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; diff --git a/GsaGH/Components/6_Display/Contour3dResults.cs b/GsaGH/Components/6_Display/Contour3dResults.cs index c476fbe89..c3addb9bb 100644 --- a/GsaGH/Components/6_Display/Contour3dResults.cs +++ b/GsaGH/Components/6_Display/Contour3dResults.cs @@ -399,7 +399,7 @@ protected override void SolveInternal(IGH_DataAccess da) { case GsaResultGoo goo: { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: this.AddRuntimeWarning("Combination Case " + result.CaseId + " contains " + result.SelectedPermutationIds.Count + " permutations - only one permutation can be displayed at a time." @@ -408,7 +408,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; diff --git a/GsaGH/Components/6_Display/ContourNodeResults.cs b/GsaGH/Components/6_Display/ContourNodeResults.cs index b3540b7e7..361e3548a 100644 --- a/GsaGH/Components/6_Display/ContourNodeResults.cs +++ b/GsaGH/Components/6_Display/ContourNodeResults.cs @@ -429,7 +429,7 @@ protected override void SolveInternal(IGH_DataAccess da) { case GsaResultGoo goo: { result = goo.Value; - if (result.Type == CaseType.Combination + if (result.Type == CaseType.CombinationCase && result.SelectedPermutationIds.Count > 1) { this.AddRuntimeWarning("Combination Case " + result.CaseId + " contains " + result.SelectedPermutationIds.Count @@ -439,7 +439,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; } - if (result.Type == CaseType.Combination) { + if (result.Type == CaseType.CombinationCase) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; } diff --git a/GsaGH/Components/6_Display/ResultDiagrams.cs b/GsaGH/Components/6_Display/ResultDiagrams.cs index 9269b8011..eb76bd61a 100644 --- a/GsaGH/Components/6_Display/ResultDiagrams.cs +++ b/GsaGH/Components/6_Display/ResultDiagrams.cs @@ -202,14 +202,14 @@ protected override void SolveInternal(IGH_DataAccess da) { if (ghTyp?.Value is GsaResultGoo goo) { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: string warningText = $"Combination Case {result.CaseId} contains {result.SelectedPermutationIds.Count} permutations - only one permutation can be displayed at a time.{Environment.NewLine}Displaying first permutation; please use the 'Select Results' to select other single permutations"; this.AddRuntimeWarning(warningText); _case = $"C{result.CaseId}"; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = $"C{result.CaseId}"; break; diff --git a/GsaGH/Components/GraveyardComp/Elem1dContourResults_OBSOLETE.cs b/GsaGH/Components/GraveyardComp/Elem1dContourResults_OBSOLETE.cs index 0e4895c29..c06e06a0c 100644 --- a/GsaGH/Components/GraveyardComp/Elem1dContourResults_OBSOLETE.cs +++ b/GsaGH/Components/GraveyardComp/Elem1dContourResults_OBSOLETE.cs @@ -356,7 +356,7 @@ protected override void SolveInternal(IGH_DataAccess da) { if (ghTyp.Value is GsaResultGoo goo) { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: this.AddRuntimeWarning("Combination case contains " + result.SelectedPermutationIds.Count + " - only one permutation can be displayed at a time." + Environment.NewLine @@ -364,7 +364,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; diff --git a/GsaGH/Components/GraveyardComp/Elem2dContourResults_OBSOLETE.cs b/GsaGH/Components/GraveyardComp/Elem2dContourResults_OBSOLETE.cs index 39f698d65..f6a46f2b8 100644 --- a/GsaGH/Components/GraveyardComp/Elem2dContourResults_OBSOLETE.cs +++ b/GsaGH/Components/GraveyardComp/Elem2dContourResults_OBSOLETE.cs @@ -431,7 +431,7 @@ protected override void SolveInternal(IGH_DataAccess da) { if (ghTyp.Value is GsaResultGoo goo) { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: this.AddRuntimeWarning("Combination case contains " + result.SelectedPermutationIds.Count + " - only one permutation can be displayed at a time." + Environment.NewLine @@ -439,7 +439,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; diff --git a/GsaGH/Components/GraveyardComp/NodeContourResults_OBSOLETE.cs b/GsaGH/Components/GraveyardComp/NodeContourResults_OBSOLETE.cs index 187660f56..23767a273 100644 --- a/GsaGH/Components/GraveyardComp/NodeContourResults_OBSOLETE.cs +++ b/GsaGH/Components/GraveyardComp/NodeContourResults_OBSOLETE.cs @@ -309,7 +309,7 @@ protected override void SolveInternal(IGH_DataAccess da) { if (ghTyp.Value is GsaResultGoo goo) { result = goo.Value; switch (result.Type) { - case CaseType.Combination when result.SelectedPermutationIds.Count > 1: + case CaseType.CombinationCase when result.SelectedPermutationIds.Count > 1: this.AddRuntimeWarning("Combination case contains " + result.SelectedPermutationIds.Count + " - only one permutation can be displayed at a time." + Environment.NewLine @@ -317,7 +317,7 @@ protected override void SolveInternal(IGH_DataAccess da) { _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; - case CaseType.Combination: + case CaseType.CombinationCase: _case = "Case C" + result.CaseId + " P" + result.SelectedPermutationIds[0]; break; diff --git a/GsaGH/Helpers/PostHog.cs b/GsaGH/Helpers/PostHog.cs index 480ceba2c..305d8ee0e 100644 --- a/GsaGH/Helpers/PostHog.cs +++ b/GsaGH/Helpers/PostHog.cs @@ -32,7 +32,7 @@ internal static void Diagram(string diagramType, CaseType caseType, string type, internal static void Diagram( string diagramType, string caseId, string type, List subTypes, EntityType entityType) { CaseType caseType = caseId.StartsWith("L") ? CaseType.LoadCase - : caseId.StartsWith("A") ? CaseType.AnalysisCase : CaseType.Combination; + : caseId.StartsWith("A") ? CaseType.AnalysisCase : CaseType.CombinationCase; List subType = subTypes.ConvertAll(x => x.ToString()); Diagram(diagramType, caseType, type, string.Join(";", subTypes), entityType); } diff --git a/GsaGH/Parameters/5_Results/GsaResult.cs b/GsaGH/Parameters/5_Results/GsaResult.cs index 5dc918291..bb4582c22 100644 --- a/GsaGH/Parameters/5_Results/GsaResult.cs +++ b/GsaGH/Parameters/5_Results/GsaResult.cs @@ -344,7 +344,7 @@ internal GsaResult( GsaModel model, CombinationCaseResult result, int caseId, IEnumerable permutations) { Model = model; CombinationCaseResult = result; - Type = CaseType.Combination; + Type = CaseType.CombinationCase; CaseId = caseId; SelectedPermutationIds = permutations.OrderBy(x => x).ToList(); } @@ -360,7 +360,7 @@ public override string ToString() { txt = "A" + CaseId; break; - case CaseType.Combination: { + case CaseType.CombinationCase: { txt = "C" + CaseId; if (SelectedPermutationIds.Count > 0) { txt = SelectedPermutationIds.Count > 1 ? txt + " P:" + SelectedPermutationIds.Count : diff --git a/GsaGH/Parameters/Enums/CaseType.cs b/GsaGH/Parameters/Enums/CaseType.cs index 6d7665491..389b09719 100644 --- a/GsaGH/Parameters/Enums/CaseType.cs +++ b/GsaGH/Parameters/Enums/CaseType.cs @@ -2,6 +2,6 @@ public enum CaseType { LoadCase, AnalysisCase, - Combination + CombinationCase } } diff --git a/GsaGHTests/3_Components/5_Results/GetResultsTest.cs b/GsaGHTests/3_Components/5_Results/GetResultsTest.cs index a283dff13..50d56087f 100644 --- a/GsaGHTests/3_Components/5_Results/GetResultsTest.cs +++ b/GsaGHTests/3_Components/5_Results/GetResultsTest.cs @@ -61,7 +61,7 @@ public void TestCombinationNoPermutation() { ComponentTestHelper.SetInput(comp, 1, 2); var result = (GsaResultGoo)ComponentTestHelper.GetOutput(comp); - Assert.Equal(CaseType.Combination, result.Value.Type); + Assert.Equal(CaseType.CombinationCase, result.Value.Type); Assert.Equal(1, result.Value.CaseId); Assert.Equal(new List() { 1, @@ -84,7 +84,7 @@ public void TestCombinationWithPermutation() { ComponentTestHelper.SetInput(comp, 1, 3); var result = (GsaResultGoo)ComponentTestHelper.GetOutput(comp); - Assert.Equal(CaseType.Combination, result.Value.Type); + Assert.Equal(CaseType.CombinationCase, result.Value.Type); Assert.Equal(1, result.Value.CaseId); Assert.Equal(new List() { 1, From 6c8721d624461bdb01d1720fae8200ae2fb7d00e Mon Sep 17 00:00:00 2001 From: Kristjan Nielsen Date: Thu, 12 Oct 2023 22:57:11 +0200 Subject: [PATCH 4/4] Change ReactionForce logging type to Node --- GsaGH/Components/6_Display/ReactionForceDiagrams.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GsaGH/Components/6_Display/ReactionForceDiagrams.cs b/GsaGH/Components/6_Display/ReactionForceDiagrams.cs index 5419175e4..da55b3663 100644 --- a/GsaGH/Components/6_Display/ReactionForceDiagrams.cs +++ b/GsaGH/Components/6_Display/ReactionForceDiagrams.cs @@ -227,7 +227,7 @@ GsaResultsValues forceValues }); SetOutputs(da, reactionForceVectors, annotations); - PostHog.Diagram("Result", result.Type, "ReactionForce", _selectedDisplayValue.ToString(), Parameters.EntityType.Element); + PostHog.Diagram("Result", result.Type, "ReactionForce", _selectedDisplayValue.ToString(), Parameters.EntityType.Node); } private double ComputeAutoScale(GsaResultsValues forceValues, BoundingBox bbox) {