ZRDPLAYBACK

This keyword reads a ZRD file, and adds ray amplitude data to one or all detectors. This command only makes sense to use if the ZRD file was generated with the currently loaded system, as no attempt is made to modify object numbers or coordinates.

Syntax:

ZRDPLAYBACK zrdfilename, surface, detector, clear, filterstring
 

Discussion:

This keyword requires the name of a ZRD file. For information on the ZRD format, see "Ray database (ZRD) files". The file name may each be defined by either a literal string or a single string variable. The file name must not include a path and the file must be in the same folder as the current lens file. The surface argument is the surface number of the Non-sequential surface, use 1 for Non-sequential mode. The integer detector is either 0 for all detectors, or the object number of a specific single detector. If clear is set to anything other than zero, then the specified detector(s) are cleared prior to playback. The optional filterstring is applied to the rays before being played back.

Example:

ZRDPLAYBACK "MYRAYS.ZRD", 1, 0, 1, "H3 & H5"

Next: