MAXScript Extensions > MAXScript Extensions for Particle Flow > Particle Flow Classes > Meta-Operators >

# Display_Script : Helper

    Display_Script - superclass: helper; super-superclass:node - 12:0 - classID: #(1509449988, 515064320)

Value > MAXWrapper > Node > Helper > Display_Script

| Particle Flow - Quick Navigation

Description:

NEW in 3ds Max 2014: The Display_Script operator shows script data associated with particles: Integer, Float or Vector.

Constructors:

    Display_Script...
    DisplayScriptParticles...

Properties:

    <Display_Script>.Show_Numbering     BooleanClass    default: false   --  boolean

Get/set the state of the "Show Particle IDs" checkbox.

When set to True, the operator will display each particle's ID number before the displayed data. The ID number is followed by a > symbol to distinguish it from the data.

    <Display_Script>.Color     Color    default: (color 172 206 255)   --  RGB color

Get/set the value of the color used for data display.

    <Display_Script>.Add_Prefix     BooleanClass    default: false   --  boolean

Get/set the state of the "Add Prefix" checkbox.

This property lets you add a custom Prefix specified by the .Prefix_Text property (see below).

    <Display_Script>.Prefix_Text     String    default: "Data"   --  string

Get/set the value of the text field.

The prefix is added between the ID (if shown) and the Data. It adds an offset between the Prefix and Data automatically.

    <Display_Script>.Script_Data_Type     Integer    default: 1   --  integer

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

Possible values are:

0 - --None--

1 - Float (default)

2 - Integer

3 - Vector X

4 - Vector Y

5 - Vector Z

6 - Vector

## Screen Offset - pixels group of controls

The following properties can be used to adjust the positioning of the data display relative to the particle position, in pixels.

By using different offset values and several Display_Script operators, multiple data values can be shown at once without overlapping.

    <Display_Script>.Offset_LeftRight     Integer    default: 0   --  integer

Get/set the value of the "Left / Right" spinner.

    <Display_Script>.Offset_UpDown     Integer    default: 0   --  integer

Get/set the value of the "Up / Down" spinner.

    <Display_Script>.Offset_InOut     Integer    default: 0   --  integer

Get/set the value of the "In / Out" spinner.

## Show IDs and Data on group of controls

    <Display_Script>.Filter_Type     Integer    default: 0   --  integer

Get/set the selection of the "Show IDs and Data on" drop-down list.

Possible values are:

0 - All Particles - Displays data for all particles in the viewports.

1 - Selected Particles Only - Displays data only for selected particles.

2 - Group Selected Only - Displays data only for group-selected particles. Use the .Group_Selection property (see below) to specify the Group_Selection Operator to use.

    <Display_Script>.Group_Selection     UndefinedClass    default: undefined   --  node

Get/set the Group_Selection Operator to be used when .Filter_Type is set to 2 - Group Selected Only.

    <Display_Script>.Precision     Integer    default: 2   --  integer

Get/set the value of the "Precision" spinner.

For float values, this properties sets the number of decimal places displayed.

The range is from 0 to 8 (where 0 is no decimal places).

## Execution Order group of controls

    <Display_Script>.Execution_Order     Integer    default: 1   --  radiobtnIndex

Get/set the state of the "Execution Order" radio buttons.

Possible values are:

0 - Pre - Shows particle data values before any operator in the Event is executed.

1 - Normal (default) - The data are shown as of the current execution order of the operators. You can use two Display_Script operators - above and below the Script Operator in question - to see how the Script Operator changes some data.

2 - Post - Data values will be shown after all the operators in the Event are executed.

## Display_Script Interfaces:

Interface: action

Interface: operator

Interface: PViewItem