xulisong 6 år sedan
förälder
incheckning
00a5773f84
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);
                         }
                     }