Skip to content

Revit diffing: shouldn't RevitPulledParametersDifferences take unit and quantity into account? #1564

@pawelbaran

Description

@pawelbaran

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?

Metadata

Metadata

Labels

type:bugError or unexpected behaviourtype:questionAsk for further details or start conversation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions