Script to run Forcite dynamics repetitively (including fixing of atom position)

Hi all,

I'm trying to write a script to get the following actions done repetitively.

  1. Move atoms in a set in z direction
  2. Fix atoms in the set
  3. Run Forcite dynamics
  4. Write forces of the atoms in the set to a study table
  5. Remove the fixing of atoms
  6. And repeat the procedure from 1 to 5

Is it a possible task? I noticed the script to fix atoms in https://community.accelrys.com/message/1857#1857. But how to remove the fixity?

Kindly looking forward for your comments.