- type: action command.
- function: save the current accelerator element and beamline definitions.
- Command syntax, including use of equations and subcommands, is discussed in 7.2.
STRING filename = NULL;
long output_seq = 0;
- filename — The (incomplete) name of a file to which the element and beamline definitions
will be written. Recommended value: “%s.new”.
- output_seq — If non-zero, the lattice will be saved as a single beamline sequence. Elements
used for the beamline are re-arranged according to their type. Note: sub-beamline definitions
in the original lattice file will be destroyed from the output file. This feature is intended to
be used together with insert_elements and replace_elements.