Test Polygon Index

 
 
 

Returns a set of Boolean values per polygon based on a number of possible tests.

Additionally, it can return the highest value of any per-polygon attribute among the polynodes that pass the test.

Tasks: Topology/Conditionals

Output Ports: Result, Per_Object_Single_Value

Mode

The type of test to perform:

  • Is Element checks whether the polygon is a member of a cluster or against a polygon Boolean attribute.
  • String Array checks whether the polygon index is included in a string.
  • Integer Array checks whether the polygon index is included in an array.
  • Comparison tests the index against a single value.

Cluster Name

Connect the name of a cluster, if Mode is Is Element.

Is Element

As an alternative to specifying the cluster name, connect the cluster's IsElement attribute value or any other Boolean value.

String Array

If Mode is String Array, enter a comma or whitespace-separated list of integers. You can also use a range notation.

Integer Array

If Mode is Integer Array, connect an array of integers.

Compare

If Mode is Comparison, compares the polygon indices against the specified integer.

Type

Choose the comparison to perform.

Polygon Index

Specify a value to compare with the polygon index.

Per Polygon Single Value

Connect any per-polygon attribute. The highest value among the polynodes that pass the test will be returned by the Per_Object_Single_Value port.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License