Description:
Currently Revit parameters are considered the same if their value is the same:
|
if ((parameter1.Value?.Equals(parameter2?.Value) ?? false) || parameter1.Value == parameter2?.Value) |
|
continue; // parameters are equal in value. Continue. |
However, there are also properties like Quantity, Unit and IsReadOnly - a bit on the fence whether they shouldn't also be checked for equality?