source files: xfil.[ch]
(XFIL-WRITE-SEXP-TO-FILE <expr> <fd>)
Writes <expr> to file <fd>, translating all references to 3D objects into expressions which will restore those references when the file is loaded.
Specifically, currently, any reference to a 3D object, say number 8 in file "myfile.lsp", is replaced by the expression:
Some things can't currently be written to graphics files, such as filepointers. Fair game currently are:
instances of 3D classes fixnums flonums lists symbols chars strings vectors