Skip to main content

Selector

Selector

Overview

The selector operator allows you to choose from a list of segments using a numerical index. This operator allows a segment to be selected manually from the operator's properties, wired to a numerical node for easy manipulation without opening the style editor (as illustrated below), or derived from the material ID assigned to a spline segment.

Segments controlled by a numerical node accessed from the parameters rollout of the Max plugin.

Usage

  1. Wire segments to the Selector operator's inputs. The order is important - the index numbering is built from the top of the list with an origin of 1.
  2. If you need to change the order, use the up and down arrows that appear when you select the segment name on the Selector node.
  3. Choose a method to control selection. To use the index spinner to switch between segments, go to Properties>Selector and ensure it is set to Index. Alternatively, use the other options to allow the index to be controlled by the properties of the spline or Marker

It is useful to export the Index parameter to make changes without opening the style editor

  1. Right-click on the Selector node and choose Export>Index

  2. Create a new Numerical node and wire it to the Index input.

  3. You can now control the selection from the Parameters rollout of the plugin without opening the style editor.

To change a spline's material ID

  1. Go to the Base Spline's segment sub object level
  2. Select the segments you wish to change and go to the Surface Properties rollout. Enter a new Material ID in the Set ID field.

Interface

Selector

Pick between two modes:

Index mode. chooses a segment using the number displayed in the Index spinner

X Spline Mat ID chooses a segment using the material ID of the X spline's sections.

Y Spline Mat ID Chooses a segment using the material ID of the Y spline's sections.

X Spline Next Mat ID Chooses a segment using the material ID assigned the next section of the X spline.

Y Spline Next Mat ID Chooses a segment using the material ID assigned the next section of the Y spline.

X Spline Marker ID Chooses a segment using the ID information assigned in a Marker on the X spline

Y Spline Marker ID Chooses a segment using the ID information assigned in a Marker on the X spline

Index

Used with Index mode to control the segment chosen from the array. Can be exported.