Extract frames from a trajectory - script

The attached script extracts frames from a trajectory.

The default is to extract the LAST frame. Another allowed keyword is ALL.


It is also allowed to have a comma and space separated list and intervals via 1-3 for example



Please do the following to add it to the User menu.

  1. Import the FEX_v0.01.pl file into a Materials Studio project.
  2. Open Tools->Scripting->Library to add the file to your script library.
  3. Go to the User Menu tab.
  4. Import User Menu_FEX_v0.01.xml
  5. Under Script: point to the imported script.



The FEX_v0.01 command should now be in the User menu and not greyed out any more when the active document is a trajectory.