Area used as Value in Set Element Parameter returns Incorrect Value in Revit


In response to a post at RFO ( I’m trying to create a definition to pull read-only system parameters that are untaggable (like a Floor’s Area) and write it back to a user-defined parameter.

Getting a list of values is easy enough as is writing them to the elements. Problem is the value that is getting written back to the element in Revit is off by some crazy number (something like .8% of the original value).

Is it a units issue?



(Sorry this comment is not going to help)

I’m having the same problem with element get parameter value by name, it returns the wrong value:



you have to convert from meters:

1m = 3.2808399 feet