You take a molecule and place a torsion monitor.
You might want to geometry optimize the molecule before hand. The script recognizes the monitor and changes it by values you choose. For each generated conformer you then caluculate a single point energy and you read in the structure, energy in ha and the actual torsion angle into a study table.
Note:
Torsion(s) gives you the descriptor.
Torsion(s) -> Angle gives you the value!!!!
Feel free to change the DMol3 settings to something more sensible.