Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikaLos committed Dec 1, 2023
1 parent adb1835 commit 4d1828a
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions GsaGH/Parameters/5_Results/2_Results/GsaResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,20 @@ internal ReadOnlyCollection<int> NodeIds(string nodeList) {
}

internal ReadOnlyCollection<int> ElementIds(string elementList, int dimension) {
string filter = dimension switch {
1 => " not (PA PV)",
2 => " not (PB PV)",
3 => " not (PB PA)",
};
string filter = string.Empty;
switch (dimension) {
case 1:
filter = " not (PA PV)";
break;

case 2:
filter = " not (PB PV)";
break;

case 3:
filter = " not (PB PA)";
break;
}

var entityList = new EntityList() {
Definition = elementList + filter,
Expand Down

0 comments on commit 4d1828a

Please sign in to comment.