Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.
Threshold

Description

Eliminates areas of the mesh where fields violate the specified lower and/or upper values. Valid for scalar and vector fields. For vector fields the values represent magnitudes.

Annotation Types

Field, Particle (fields)

Parameters

Label - A unique name that identifies the filter. (IFilter/Label)

Lower/Enable – Enables the lower cutoff value behavior. (IThresholdFilter/EnableLower)

Lower/Value - [FIELD_UNIT] – Lower cutoff value. All areas of the mesh with field values smaller than this value will be eliminated. (IThresholdFilter/LowerValue)

Upper/Enable – Enables the upper cutoff value behavior. (IThresholdFilter/EnableUpper)

Upper/Value - [FIELD_UNIT] – Upper cutoff value. All areas of the mesh with field values larger than this value will be eliminated. (IThresholdFilter/UpperValue)

Example(s)

User Interface Button

Requirements

Only valid for scalar fields or vector fields configured to render as scalars.

Example Script

Config_1 = FieldAnnotation_1.Get_IFieldAnnotation().GetConfig()
ClipFilter_1 = Config_1.Get_IAnnotationConfig().NewFilter("ThresholdFilter", "Threshold_1")

Scripting Interfaces

“IThresholdFilter”
“IFilter”

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice