Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XFIL-WRITE-SEXP-TO-FILE

source files: xfil.[ch]

SYNTAX

(XFIL-WRITE-SEXP-TO-FILE <expr> <fd>)

DESCRIPTION

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:

(XFIL-REF "myfile.lsp/8")

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

Go to the first, previous, next, last section, table of contents.