- 1.7
- 1.6
- 1.5
- Beta
- Examples (for 1.6a)
- Misc
Open and associate trajectory files to models, and select frames to display/edit from the current trajectory.
![]() | See also: |
|---|---|
|
Syntax:
model addframe( | ); |
model addframe( | title); |
string | title; |
Append a new trajectory frame to the current model's trajectory. The reference to the new frame is returned.
For example:
model m = addframe("new config");Syntax:
void cleartrajectory( | ); |
Clear any associated trajectory and frame data in the current model.
For example:
cleartrajectory();
Syntax:
void firstframe( | ); |
Select the first frame from trajectory of current model.
For example:
fi rstframe();
Syntax:
int loadtrajectory( | filename); |
string | filename; |
Associate trajectory in filename with the current model. An integer value of '1' is returned if the association was successful, or '0' otherwise.
For example:
int success = loadtrajectory("/home/foo/md/water.HISf");opens and associated the formatted DL_POLY trajectory file 'water.HISf' with the current model.
Syntax:
void nextframe( | ); |
Select next frame from trajectory of current model.
For example:
nextframe();


![[Note]](images/note.png)