MAXScript Extensions > MAXScript Extensions for Particle Flow > Particle Flow Classes > Data Operators > Data Sub-Operators >

# PipeReferenceTarget : ReferenceTarget

    PipeReferenceTarget - superclass: ReferenceTarget; super-superclass:MAXWrapper - 22:0 - classID: #(1137313559, 554188032)

| Particle Flow - Quick Navigation

Description:

NEW in 3ds Max 2014: The PipeReferenceTarget Particle Data View sub-operator combines data from different streams according to conditions and data in a valve stream.

Constructor:

    PipeReferenceTarget...

Properties:

    <PipeReferenceTarget>.Data_Type Integer default: 6 -- integer

Get/set the selection of the "Data Type" drop-down list.

Possible values are:

0 - Boolean

1 - Complex

2 - Integer

3 - Matrix

4 - Pair

5 - Quaternion

6 - Real (default)

7 - Time

8 - Vector

    <PipeReferenceTarget>.Valve_Type Integer default: 1 -- integer

Get/set the selection of the "Valve Type" drop-down list.

Possible values are:

0 - Angle

1 - Boolean

2 - Float

3 - Integer

4 - Percent

5 - Time

6 - World Unit

7 - Vector

    <PipeReferenceTarget>.Vector_Valve_Type Integer default: 0 -- integer

Get/set the selection of the Valve > Vector Use drop-down list used when Valve_Type is 7 - Vector.

Possible values are:

0 - Maximal Component

1 - Max Absolute Component

2 - Minimal Component

3 - Min Absolute Component

    <PipeReferenceTarget>.Integer_Valve_Type Integer default: 0 -- integer

Get/set the selection of the Valve > Integer Use drop-down list used when Valve_Type is 3 - Integer

Possible values are:

0 - Interval (default)

1 - Exact Match

## Pipe Conditions group of controls

Setting this property to empty array #() is equivalent to pressing the "Remove All" button in the sub-operator's UI.

Appending to this array is equivalent to specifying a value in the UI and pressing the "Add" button.

Setting this parameter will not update the "Pipe Condition" listbox if the UI is displayed. Setting the .Data_Type to itself can be used as a workaround to refresh the UI display.

The whole array can be set at once, e.g setting .Angle_Conditions=#(0.0, 1.0, 3.0) will result in the Pipe Condition "R2 if R1 <= 0; R3 if R1 <= 1; R4 if R1 <= 3; R5 if R1 > 3"

    <PipeReferenceTarget>.Angle_Conditions ArrayParameter default: #() -- angle array

    <PipeReferenceTarget>.Float_Conditions ArrayParameter default: #() -- float array

    <PipeReferenceTarget>.Integer_Conditions ArrayParameter default: #() -- int array

    <PipeReferenceTarget>.Percent_Conditions ArrayParameter default: #() -- percent array

    <PipeReferenceTarget>.Time_Conditions ArrayParameter default: #() -- time array

    <PipeReferenceTarget>.World_Unit_Conditions ArrayParameter default: #() -- worldUnits array

Get/set the array of Condition values for the respective Data Type setting.

    <PipeReferenceTarget>.Condition_Is_Rate BooleanClass default: false -- boolean

Get/set the state of the "Condition Is Speed Value" / "Condition Is Spin Rate" used when .Data_Type is set to 6 - Real and .Valve_Type is either 6 - World Units or 0 - Angle.

    <PipeReferenceTarget>.Units_Per_Type Integer default: 1 -- integer

Get/set the selection of the "Units Per" drop-down list.

Possible values are:

0 - Frame

1 - Second (default)

2 - Tick

## Input and Filter Sockets

    <PipeReferenceTarget>.Input_Valve UndefinedClass default: undefined -- maxObject

Get/set the sub-operator object connected to the Valve input socket.

    <PipeReferenceTarget>.Input_1 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_2 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_3 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_4 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_5 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_6 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_7 UndefinedClass default: undefined -- maxObject

    <PipeReferenceTarget>.Input_8 UndefinedClass default: undefined -- maxObject

Get/set the sub-operators connected to the corresponding Input sockets of the PipeReferenceTarget sub-operator.

    <PipeReferenceTarget>.Filter UndefinedClass default: undefined -- maxObject

Get/set the sub-operator connected to the Filter socket of the PipeReferenceTarget sub-operator.

## PipeReferenceTarget interfaces:

The following common interface is exposed by the PipeReferenceTarget Particle Data View sub-operator:

Interface: DataViewItem