acis_journal:end
List of: Scheme Extensions
Subjects: Scheme AIDE Application
Contents: Kernel

Action: Ends the journaling mechanism.

Filename: kern/kern_scm/journal_scm.cxx

APIs: api_end_journal

Syntax: (acis_journal:end acis-opts)

Arg Types: acis-opts acis-options

Returns: scheme-object

Description: Returns TRUE if operation was successful.


acis-opts object contains the journaling information that has to be stopped.

Example: ; acis_journal:end

; set a journal file

(define j (acis_journal:set "file"


"sweep_journal_example"))

;; j

(define v (versiontag 7 0 0))

;; v

(define ao (acisoptions:set "journal" j "version" v))

;; ao

(define b1 (solid:block (position 0 0 0)


(position 3 1 1)))

;; b1

(define b2 (solid:block (position 2 0 0)


(position 3 6 1)))

;; b2

(define b3 (solid:block (position 0 5 0)


(position 3 6 1)))

;; b3

(define b4 (solid:block (position 0 0 0)


(position 1 6 1)))

;; b4

(zoom-all)

;; #[view 1049866]

(acis_journal:start ao)

;; #t

(define u (bool:unite b1 b2 ao))

;; u

(acis_journal:pause ao)

;; #t

(define u1 (bool:unite b1 b3 ao))

;; u1

(acis_journal:resume ao)

;; #t

(define u2 (bool:unite b1 b4 ao))

;; u2

(acis_journal:end ao)

;; #t
PDF/KERN/12SCA.PDF
HTM/DATA/KERN/KERN/12SCA/0002.HTM