Skip to content

Commit 0d49373

Browse files
committed
NumericTolerance overridden
1 parent 68b2cc0 commit 0d49373

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Revit_oM/Config/RevitComparisonConfig.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public class RevitComparisonConfig : BaseComparisonConfig
6868
[Description("(Defaults to `true`) If false, if an object has a RevitParameter with a null Value deleted from it, then the owner object is NOT considered 'Modified' and the Comparison will NOT return this difference.")]
6969
public virtual bool RevitParams_ConsiderRemovedUnassigned { get; set; } = true;
7070

71+
[Description("Numeric tolerance for property values, applied to all numerical properties. Defaults to 1e-6." +
72+
"\nApplies rounding for numbers smaller than this." +
73+
"\nYou can override on a per-property basis by using `PropertyNumericTolerances`." +
74+
"\nIf conflicting values/multiple matches are found among the Configurations on numerical precision, the largest approximation among all (least precise number) is registered.")]
75+
public override double NumericTolerance { get; set; } = 1e-6;
76+
7177
/***************************************************/
7278
}
7379
}

0 commit comments

Comments
 (0)