About Selectors

You can select the following selectors depending on the operators in xOptimize Pro. You can manage the selector properties in the Selector settings that you find in the operator nodes over the settings for the respective operator.

Note: Numbers in fields with up/down controls in the selector properties can have four digits, for example 14.5321. The numbers are automatically rounded. Whether a '.' or ',' is used for separating the numbers depends on the browser language. Minimum and maximum ranges are respected and values are reset to their respective limit.

See Also
Selectors
Operator Library
Beta Operators and Selectors
Label Expression Selector
Selects elements based on labels assigned by the Set Label operator.

The following settings are available:

Expression defines the label or multiple labels combined by boolean expressions:

  1. AND - Both labels must be assigned to the element to select it.
  2. OR - One of the labels must be assigned to the element to select it.
  3. NOT - All elements that do not have the label assigned are selected.
  4. The + lets you search for another label and add it.

Material Selector
Selects elements of the structure on which a provided material is assigned. The following property setting is available:

Material lets you specify the material you want to use to select elements.

Important: This is a beta selector.
Property Selector
Selects elements of the structure (references or instances) based on the values of attributes such as title or name. The following property settings are available:
  • Property defines the PLM attribute that you want to use to select entities. You can either use one of the default attributes or add one from the PLM extensions. You can drop one Property value from an existing product. You can also select and drop several Value values from an existing product.
    • V_Name - Filter criterion is the title of the representation or element.
      Note: The isolation prefix is transparently managed if the attribute you select is V_Name. For example, V_Name Starts with Interior and the isolate Prefix is Prep_ the search for items starts with Prep_Interior.
    • V_usage - filter criterion is the defined usage of the element.
    • V_description - filter criterion is the text inside the description field of the element.
  • Condition specifies how the provided comparison value must be treated to fulfill the filter condition:
    • Wildcard - the specified value can contain wildcards, representing one or multiple characters to filter for the values stored as an attribute.
    • Equals - the specified value and the value stored as an attribute must be the same.
    • Contains - the specified value must be part of the value stored as an attribute.
    • Starts with - the specified value must be at the beginning of the value stored as an attribute.
    • Ends with - the specified value must be at the end of the value stored as an attribute.
  • Value defines the value based on which the selector is applied. You can specify several values by entering one value and pressing ENTER, then enter the next value and press ENTER. The default behavior is that matching values of the list you specified are applied. You can drop several Value values from an existing product.
    Note: You can also drop a .csv file directly to the Value field in string-list mode, or in text-edit mode.

    Consider the following rules when using a .csv as Value input, so that the app can process it correctly:

    • Every row in Excel becomes one single item.
    • The app only considers the first column in Excel. All other columns are ignored.
    • The app considers line-breaks within one cell in Excel as separate items (2 line-breaks will become 3 separate items).
    • Do not use a header (Description) in Excel as the app considers a header in Excel as item.
    • Every row in the .csv file becomes one single item.
    • Do not use commas in csv. The app ignores the string after the comma if you use a comma within one item. (The string "Item_01,Item_02" will become one single item: "Item_01", because the comma is the separator for a different column.)

Proximity Selector
Selects elements close to a set of other elements defined by a label. The following property setting is available:
  • Selection label defines the initial geometry by label.
    Note: Assign the label in advance using the Set Label operator.
  • Proximity size (mm) specifies the threshold of the distance from the initial geometry in mm. Objects having this distance or a smaller distance to the initial geometries are selected.
  • Voxel count defines the number of voxels used for calculating the defined distance range. The higher the number the more accurate is the selection in the end.
  • Decimation value - To accelerate the computation of the initial geometry, as defined by a label, it is replaced by a decimated hull. The decimation value is the used chordal deviation. Valid values are between 0 and 10 in mm.
Important: This is a beta selector.
Size Selector
Selects shapes based on the longest dimension of the respective bounding boxes, means bigger or smaller than a value. The following property settings are available:
  • Condition specifies how the provided comparison value must be treated to fulfill the filter condition:
    • Smaller - the bounding box diameter of the element must be smaller than the specified value to meet the criteria.
    • Bigger - the bounding box diameter of the element must be bigger than the specified value to meet the criteria.
  • Size defines the threshold the bounding box's diameter of all elements is compared with.
    Note: Values are in mm and range from 0 infinity.
Structure Selector
Selects elements based on their position in the structure such as root, one level below the root and the like. The following property settings are available:
  • Base element defines the base element:
    • Shapes selects all shapes, the defined level is ignored.
    • Parts selects the elements based on parts and depending on the defined settings.
    • Root selects the elements below the root depending on the defined settings.
    • Empty groups selects empty leaves or groups.
  • Level specifies how many levels to go up or down from the base element.
    • When you select Shapes or Parts, xOptimize Pro counts the number of levels up, going into the direction of the root of the structure.
    • When you select Root, xOptimize Pro counts the number of levels down, going towards the "leaves" of the structure.
    Note: Use positive integers as level values.
  • Level direction
    Specifies in which direction, up or down, the levels are selected in the model structure.