Test_Icon : Helper

Test_Icon - superclass: Helper; super-superclass:node - 33:1 - classID: #(1935830020, 515064320)

Description:

The Test_Icon Helper directly modifies and checks particle channel data by using sub-operators wired in Particle Data View. The Test has a visible icon in viewports.

Available in 3ds Max 2014 and higher.

Constructors:

Test_Icon...
DataTestIcon...

Properties:

<Test_Icon>.Auto_Update     BooleanClass    default: true   --  boolean

Get/set the state of the Auto Update checkbox.

Operator Activity group of controls

<Test_Icon>.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

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

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

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

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

<Test_Icon>.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

<Test_Icon>.Visible_Icon     BooleanClass    default: true   --  boolean

Get/set the viewport icons's visibility.

Not exposed to the User Interface.

The Test_Icon operator's Icon is set to True by default. This is the main difference to the Data_Test object which exposes the same parameters, but has no icon by default.

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

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

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

<Test_Icon>.Icon_Parameter_1     Float    default: 10.0   --  animatable; worldUnits
<Test_Icon>.Icon_Parameter_2     Float    default: 10.0   --  animatable; worldUnits
<Test_Icon>.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 -- --
<Test_Icon>.Color_Coordinated     BooleanClass    default: true   --  boolean; Auto_Update

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

Particle Data View's Menu

Display menu

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

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

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

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

<Test_Icon>.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

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

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

<Test_Icon>.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

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

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

<Test_Icon>.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.
<Test_Icon>.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.
<Test_Icon>.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.
<Test_Icon>.PDView_Origin_Y     Integer    default: 0   --  integer

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

Default Values

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

Sub-Operators MAXScript Access

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

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

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

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

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

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

Other Properties

<Test_Icon>.Enable_By_Switch     BooleanClass    default: false   --  boolean

Replaces the .Disable_By_Dependency property originally introduced in 3ds Max 2014.

Available in 3ds Max 2015 and higher.

<Test_Icon>.Repeats     Integer    default: 1   --  integer
<Test_Icon>.useProfileTools     BooleanClass    default: false   --  bool

This property is exposed by the Interface: profileTools.

Test_Icon interfaces:

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

Interface: action

Interface: test

Interface: PViewItem

Interface: groupSelection

Interface: profileTools