Save and Load
List of: Discussion Topic
Subjects: Scheme AIDE Application
Contents: Getting Started Guide

ACIS models can be saved to a part save file for later retrieval. They can be saved in text mode (file extension .sat) or binary mode (file extension .sab). Refer to the Kernel Component Manual for information about save files.

Example 6-5 saves the body u1 created in Example 6-4 into a part save file in text format and then retrieves it from that file as a body with a new name.

; Save the model in text mode to file test.sat
(part:save "test" #t)
;; #t
; Delete all the entities
(part:clear)
;; #t
; Nothing in view window now
; Retrieve, or load, the model from the text mode file test.sat
(part:load "test")
;; (#[entity 4 1])

Example 6-5. Save and Load
PDF/GET/06SCUSE.PDF
HTM/DATA/ACIS/GET/06SCUSE/0021.HTM