Skip to content

Commit

Permalink
fix using Xyz results for rotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristjan Nielsen committed Oct 9, 2023
1 parent 105aaa2 commit eb5a9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GsaGH/Components/5_Results/NodeDisplacements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ protected override void SolveInternal(IGH_DataAccess da) {
foreach (int id in vals[perm - 1].Ids) {
ids.Add(id);
// there is only one result per node
GsaResultQuantity values = vals[perm - 1].XyzResults[id][0];
GsaResultQuantity values = vals[perm - 1].XxyyzzResults[id][0];
rotX.Add(new GH_UnitNumber(values.X));
rotY.Add(new GH_UnitNumber(values.Y));
rotZ.Add(new GH_UnitNumber(values.Z));
Expand Down

0 comments on commit eb5a9db

Please sign in to comment.