Skip to content

Commit

Permalink
Changed which enum UnitType to use for NodeDisplacements
Browse files Browse the repository at this point in the history
Changed from length to disp.
  • Loading branch information
TosteSkDa authored and IsakNaslundBh committed Apr 4, 2023
1 parent 96b7bfd commit 325e6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GSA_Adapter/CRUD/ReadResultsElements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private bool GetExtractionParameters(NodeResultRequest request, out ResHeader he
case NodeResultType.NodeDisplacement:
converter = Convert.FromGsaNodeDisplacement;
header = ResHeader.REF_DISP;
unitFactor = unitFactors[(int)UnitType.LENGTH];
unitFactor = unitFactors[(int)UnitType.DISP];
break;
case NodeResultType.NodeVelocity:
case NodeResultType.NodeAcceleration:
Expand Down

0 comments on commit 325e6d4

Please sign in to comment.