Skip to content

Commit 211fd2d

Browse files
committed
Pass on more indices from to Read methods
1 parent 8ccd66b commit 211fd2d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Robot_Adapter/CRUD/Read/Properties/Labels.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public List<IBHoMObject> ReadLabels(IRobotLabelType robotLabelType, List<string>
5555
if (obj != null)
5656
objects.Add(obj);
5757
}
58-
5958
}
6059
}
6160
else

Robot_Adapter/CRUD/Read/Read.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ protected override IEnumerable<IBHoMObject> IRead(Type type, IList indices, Acti
7474
else if (typeof(ISurfaceProperty).IsAssignableFrom(type))
7575
return ReadSurfaceProperties(indices?.Cast<object>().Select(x => x.ToString()).ToList());
7676
else if (type == typeof(RigidLink))
77-
return ReadRigidLinks();
77+
return ReadRigidLinks(indices);
7878
else if (type == typeof(LoadCombination))
7979
return ReadLoadCombinations();
8080
else if (type == typeof(LinkConstraint))
8181
return new List<LinkConstraint>();
8282
else if (type == typeof(BarRelease))
8383
return ReadBarRelease(indices?.Cast<object>().Select(x => x.ToString()).ToList());
8484
else if (type == typeof(Offset))
85-
return ReadOffsets();
85+
return ReadOffsets(indices?.Cast<object>().Select(x => x.ToString()).ToList());
8686
else if (type == typeof(Loadcase))
8787
return ReadLoadCase();
8888
else if (typeof(ISectionProperty).IsAssignableFrom(type))

0 commit comments

Comments
 (0)