xulisong пре 6 година
родитељ
комит
00a5773f84
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      MBI/SAGA.RevitUtils/ExtensibleStorage/ElementDataStorage.cs

+ 1 - 1
MBI/SAGA.RevitUtils/ExtensibleStorage/ElementDataStorage.cs

@@ -414,7 +414,7 @@ namespace SAGA.RevitUtils.ExtensibleStorage
                         if (property != null)
                         {
                             MethodInfo mi = getMethod.MakeGenericMethod(property.PropertyType);
-                            var useValue = mi.Invoke(entity, null);
+                            var useValue = mi.Invoke(entity, new object[] { field.FieldName });
                             property.SetValue(result, useValue);
                         }
                     }