The DuplicateFilterRule option changes which data is kept when a duplicate filter is applied. The OptionValue is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 for All, Average, First, Last, Maximum, Maximum X, Maximum Y, Maximum Z, Median, Median X, Median Y, Median Z, Midrange, Minimum, Minimum X, Minimum Y, Minimum Z, None, Random, or Sum.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “DuplicateFilter”)
object.Option(“DuplicateFilterRuler”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example shows how to set the duplicate filter to keep the Median value.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Viewer Window")
CommandApi.Option ("DuplicateFilterRule", "8")
CommandApi.Do()
Used by: DuplicateFilter
See Also