Click or drag to resize

INearDuplicatePropertiesNearDupeComparisonThreshold Property

Gets or sets the Near-Duplicate Comparison Threshold for the case.

Namespace:  EdaIntegrationContract.NearDuplicate
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 7.6
Syntax
C#
int NearDupeComparisonThreshold { get; set; }

Property Value

Type: Int32
Exceptions
ExceptionCondition
EdaApiExceptionThrown if the value is not between 60 and 99.
Remarks
Determines the minimum percentage of similarity to be considered when comparing the similarity between case files during near-duplicate analysis. The valid range for this setting is from 60 to 99.
Examples
This example demonstrates how to set and retrieve the NearDupeComparisonThreshold.
C#
using Law.EdaIntegration;

class Sample
{
    static void Main()
    {
        EdaIntegration edaIntegration = EdaIntegration.ConnectToExplore();
        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        // Set the NearDupeComparisonThreshold value
        edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold = 85;

        // Save the changes to the case
        edaCase.NearDuplicates.UpdateProperties();

        // Get the value
        Console.WriteLine("NearDupeComparisonThreshold: {0}", edaCase.NearDuplicates.Properties.NearDupeComparisonThreshold);
    }
}
/*
This example produces the following results:

NearDupeComparisonThreshold: 85
 */
See Also