Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add the script to Simulation Flow (Ctrl/Cmd + F2) > FramesPre.The goes through a Dyverso domain's ("DY_Domain01") particles and shifts every 20th particle - based on their Ids - and its neighbours to a second domain ("DY_Domain"). By altering the "skip" variable you can, for example, choose every 5th, 50th, or 100th particlethis script to a "Batch Script" editor (F10) and execute it with Script > Run.

The script creates an array of cubes on a circle and dyes every second object: