Data_Operator : Helper

Data_Operator - superclass: helper; super-superclass:node - 33:1 - classID: #(1935830017, 515064320) 

Description:

The Data_Operator operator directly modifies particle channel data by using sub-operators wired in a Particle Data View. Available in 3ds Max 2014 and higher.

Constructors:

Data_Operator...
DataOperator...

Properties:

<Data_Operator>.Auto_Update     BooleanClass    default: false   --  boolean

Get/set the state of the Auto Update checkbox.

Operator Activity group of controls

<Data_Operator>.Activity_Type     Integer    default: 0   --  radiobtnIndex

Get/set the state of the "Operator Activity" radio buttons.

Possible values are:

0 - Active Always (default)

1 - Active In Interval

2 - Animatable

<Data_Operator>.Time_On     Integer    default: 0   --  integer

Get/set the value of the "Time On" spinner available when .Activity_Type is set to 1.

<Data_Operator>.Time_Off     Integer    default: 4800   --  integer

Get/set the value of the "Time Off" spinner available when .Activity_Type is set to 1.

<Data_Operator>.Animatable_Active     BooleanClass    default: true   --  animatable; boolean

Get/set the state of the Active checkbutton available when .Activity_Type is set to 1.

Operator Icon group of controls

<Data_Operator>.Visible_Icon     BooleanClass    default: false   --  boolean

Get/set the viewport icons's visibility.

This property is not exposed to the User Interface.

The Data Operator's Icon is set to False by default. Setting it to True will create a Data_Icon object in the viewport, but the icon controls will not be shown in the Particle View, only in the 3ds Max Command Panel.

<Data_Operator>.Icon_Type     Integer    default: 10   --  animatable; integer

Get/set the icon type used when .Visible_Icon is set to True.

Possible values are:

0 - Arrow

1 - Box

2 - Circle

3 - Cone

4 - Cylinder

5 - Half Cylinder

6 - Open Cone

7 - Open Cylinder

8 - Plane

9 - Point

10 - Rectangle (default)

11 - Sphere

<Data_Operator>.Icon_Parameter_1     Float    default: 10.0   --  animatable; worldUnits
<Data_Operator>.Icon_Parameter_2     Float    default: 10.0   --  animatable; worldUnits
<Data_Operator>.Icon_Parameter_3     Float    default: 20.0   --  animatable; worldUnits

Get/set the first, second and third icon parameters. Depending on the .Icon_Type value, these parameters can have different meanings.

See the table below for details:

Icon_Type Value Icon Type NameH Icon_Parameter_1 Icon_Parameter_2 Icon_Parameter_3
0 Arrow Diameter -- Height
1 Box Width Length Height
2 Circle Diameter -- --
3 Cone Diameter -- Height
4 Cylinder Diameter -- Height
5 Half Cylinder Diameter -- Height
6 Open Cone Diameter -- Height
7 Open Cylinder Diameter -- Height
8 Plane Size -- --
9 Point Size -- --
10 Rectangle Width Length --
11 Sphere Diameter -- --
<Data_Operator>.Color_Coordinated     BooleanClass    default: false   --  boolean; Auto_Update

Get/set the state of the "Color Coordinated" checkbox.

Particle Data View's Menu

Display menu

<Data_Operator>.PDView_Show_Parameters     BooleanClass    default: true   --  boolean

Get/set the state of the "Parameters" option.

<Data_Operator>.PDView_Show_Depot     BooleanClass    default: true   --  boolean

Get/set the state of the "Depot" option.

<Data_Operator>.PDView_Description_Type     Integer    default: 1   --  integer

Get/set the mode of the Description panel in the Particle Data View's bottom right corner.

These modes are represented by the last 3 menu items in the Options menu, as well as the last 3 icons in the bottom right corner of the Particle Data View.

Possible values are:

1 - Description (default)

2 - Output Order

3 - Navigation

Note: The Description panel will only be displayed if either the Parameters, the Depot, or both panels are visible.

Options menu

<Data_Operator>.Auto_Update_On_Data_View_Close     BooleanClass    default: true   --  boolean

Get/set the state of the "Auto Update On Data View Close" option.

<Data_Operator>.Use_Dynamic_Names_For_New     BooleanClass    default: true   --  boolean; Use_Dynamic_Name_For_New

Get/set the state of the "Use Dynamic Names From New" option.

Particle Data View's Layout Properties

<Data_Operator>.PDView_Divider     Integer    default: 110   --  integer

Get/set the height of the horizontal divider controlling the height of the Depot and Description panels.

<Data_Operator>.PDView_Width     Integer    default: 751   --  integer

Get/set the Width of the Particle Data View editor window.

Note: The Particle Data View editor must be closed before setting this property.
<Data_Operator>.PDView_Height     Integer    default: 620   --  integer

Get/set the Height of the Particle Data View editor window.

Note: The Particle Data View editor must be closed before setting this property.
<Data_Operator>.PDView_Origin_X     Integer    default: 0   --  integer

Get/set the X coordinate of the upper left corner of the Particle Data View editor window.

Note: The Particle Data View editor must be closed before setting this property.
<Data_Operator>.PDView_Origin_Y     Integer    default: 0   --  integer

Get/set the Y coordinate of the upper left corner of the Particle Data View editor window.

Note: The Particle Data View editor must be closed before setting this property.

Default Values

<Data_Operator>.Default_Width     Integer    default: 50   --  integer
<Data_Operator>.Default_Height     Integer    default: 0   --  integer
<Data_Operator>.Default_Range_Max     Float    default: 100.0   --  float; Default_Range_Maximum
<Data_Operator>.Default_Range_Min     Float    default: 0.0   --  float; Default_Range_Minimum
<Data_Operator>.Default_Offset     Integer    default: 0   --  integer
<Data_Operator>.Default_Range_Type     Integer    default: 1   --  integer

Sub-Operators MAXScript Access

<Data_Operator>.SubOperators     ArrayParameter    default: #()   --  maxObject array; SubAnim

Contains an array of all sub-operators in the Data_Icon Operator.

<Data_Operator>.Selected_SubOperators     ArrayParameter    default: #()   --  maxObject array; SubAnim

Contains an array of the selected sub-operators in the Data_Icon Operator.

<Data_Operator>.Groups     ArrayParameter    default: #()   --  maxObject array; SubAnim

Contains an array of the Group objects in the Data_Icon Operator.

Other Properties

<Data_Operator>.Disable_By_Dependency     BooleanClass    default: false   --  boolean
<Data_Operator>.Repeats     Integer    default: 1   --  integer
<Data_Operator>.useProfileTools     BooleanClass    default: false   --  bool

This property is exposed by the Interface: profileTools.

Data_Operator interfaces:

The following common Particle Flow Interfaces are exposed by the Data_Operator Class:

Interface: action

Interface: operator

Interface: PViewItem

Interface: groupSelection

Interface: profileTools