Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ModalDynamics extraction #343

Merged
merged 1 commit into from
Sep 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Etabs_Adapter/CRUD/Read/Results/GlobalResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public IEnumerable<IResult> ReadResults(GlobalResultRequest request, ActionConfi
case GlobalResultType.Reactions:
return GetGlobalReactions();
case GlobalResultType.ModalDynamics:
return GetModalParticipationMassRatios();
default:
Engine.Reflection.Compute.RecordError("Result extraction of type " + request.ResultType + " is not yet supported");
return new List<IResult>();
Expand Down Expand Up @@ -103,6 +102,8 @@ private List<GlobalReactions> GetGlobalReactions()

private List<ModalDynamics> GetModalParticipationMassRatios()
{
//TODO: This method is to be fixed before exposed. Currently does not give back ratios when it should, but full values
//All arguments to be fully checked through and refactored before exposed
List<ModalDynamics> partRatios = new List<ModalDynamics>();

int resultCount = 0;
Expand Down