Skip to content

Commit

Permalink
Added SpacerProperty to IRead
Browse files Browse the repository at this point in the history
Needed for push of spacers with existing spacer properties
  • Loading branch information
johannaisak authored and Fraser Greenroyd committed Mar 28, 2023
1 parent cff66de commit ac3c1ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GSA_Adapter/CRUD/Read.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ protected override IEnumerable<IBHoMObject> IRead(Type type, IList indices, Acti
return ReadLoadCases(indices as dynamic);
if (type == typeof(Spacer))
return ReadSpacers(indices as dynamic);
if (type == typeof(SpacerProperty))
return ReadSpacerProperties(indices as dynamic);
if (type.IsGenericType && type.Name == typeof(BHoMGroup<IBHoMObject>).Name)
return new List<BHoMGroup<IBHoMObject>>();
if (typeof(IResult).IsAssignableFrom(type))
Expand Down

0 comments on commit ac3c1ed

Please sign in to comment.