Interfaces > Core Interfaces > ParticleFlow |
Particle Flow provides the Core Interface particleFlow.
Block the Event encapsulation of Particle Flow Actions created via MAXScript.
When a Particle Flow Action (Operator or Test) is created, it is automatically encapsulated into a Particle Flow Event. This is done since all Particle Flow Actions should belong to an Event.
Sometimes this behavior can be undesired and become an obstacle when creating Actions via MAXScript. To avoid this, the pair beginEdit / endEdit can be used.
Opens the Particle View. Returns the Particle View node.
You can use the following short MacroScript to generate an ActionItem that can be placed on a Toolbar, Menu, QuadMenu or Keyboard Shortcut to quickly open Particle View even when there is no PF_Source in the scene.
This method is used in PF_SourceEvery Step Update and Final Step Update scripts to identify the actual PF_Source that is currently running the script.
Get the Particle Flow Action Order.
Set the Particle Flow Action Order.
0: Globals First - At each integration step, Particle Flow first applies actions in the global event, and then actions in the other (local) events. Typically, the result is that actions in the local events override comparable actions in the global event.
1: Locals First - At each integration step, Particle Flow first applies actions in the local events, and then actions in the global event. Typically, the result is that actions in the global event override comparable actions in the local events
Get the Particle Flow Update Type.
Set the Particle Flow Update Type.
0 : Complete mode - the whole particle animation is recalculated starting at the first frame.
1 : Forward mode - particles aren't updated right away. At playback time the particle history is not recalculated. Only new events that will happen with the particles have new settings.
Cleans up the Particle Flow by removing unused items.
If the argument is passed as true, shows the result of the operation as a popup dialog. If false, performs the operation silently.
Returns the number of "dirty" ParticleFlow items removed.
Available in 3ds Max 2010 and higher.
If the argument is passed as true, shows the result of the operation as a popup dialog. If false, performs the operation silently.
Available in 3ds Max 2010 and higher.
MovesParticle Flow items to the same layer as the Particle Flow Emitter object.
When a Particle Flow Emitter object is moved to another layer via the Layer Manager, other related objects like all Particle Flow Operator Helpers and some internal objects are not moved to the same layer automatically. This can cause the flow to misbehave for example if a layer is turned off.
This method performs the synchronization to ensure all objects are on the same layer.
If the argument is passed as true, shows the result of the operation as a popup dialog. If false, performs the operation silently.
Returns the number of synchronized layers.
Available in 3ds Max 2010 and higher.
Available in 3ds Max 2010 and higher.
Opens the Preset Manager dialog.
Available in 3ds Max 2010 and higher.
<void>particleFlow.setNodeEditorDisplayFlags <integer>displayFlags
Sets the Node Editor's display flags.
Available in 3ds Max 2015 and higher.
<void>particleFlow.forceRedrawParticleView <node>particleView
Forces the redraw of the Particle View editor.