Next: write-comments, Previous: winenter, Up: GCL Reference

#### 7.2.158 write

`(write {command|geometry|camera|transform|ntransform|window|bbox} NOMEDOARQUIVO [ID|(ID ...)] [self|world|universe|outroID])`
  write description of ID in given format to NOMEDOARQUIVO. Last parameter chooses coordinate system for geometry & transform: self: just the objeto, no transformação ou aparência (objeto geométrico only) world: the objeto as positioned within the World. universe: objeto's position in universal coordenadas; includes Worldtransform other ID: the objeto transformed to o sistema de coordenadas de outroID.

  A filename of `-` is a special case: data are written to the stream from which the 'write' command was read. For external modules, the data are sent to the module's standard input. For commands not read from an external program, `-` means geomview's standard output (see `(command ...)`).

  The ID can either be a single id ou a parenthesized list of ids, like `g0` ou `(g2 g1 dodec.off)`.