set quaternions

i use ellipsoid particles.can i set quaternions from a file or from a particular snapshot in a dump file?