Hi there,
I am using OVITO to visualize a LAMMPS trajectory dump file. I need to visualize only particles that are in a specific distance from another molecule. But I am not sure how can I achieve this? Can anyone please assist me in doing so?
Thank you very much in advance for your consideration,
Bests,
Mahsheed
Hi Masheed,
You can achieve this in OVITO Basic by setting up the following pipeline:
- Select the desired molecule’s particles, e.g., by either using a Select Type Modifier or an Expression Modifier using the Molecule ID particle property as input if available.
- Add an Expand Selection Modifier and specify a cutoff to add all particles within the range of the already selected particles.
- Invert the selection using an Invert Selection Modifier
- Remove the selected particles from the scene by using a Delete Selected Modifier
Hope this helps!
Dear @kalcher,
Thank you very much. It was very helpful.