xulisong 6 years ago
parent
commit
00a5773f84
1 changed files with 1 additions and 1 deletions
  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);
                         }
                     }