SchemeExt:Acis journal:resume
From DocR23
Contents |
Action
Resumes the journaling mechanism after a pause.
Filename
scm/scmext/kern/journal_scm.cpp
APIs
Syntax
(acis_journal:resume acis-opts)
Argument Types
| Argument | Scheme Data Type |
|---|---|
| acis-opts | acis-options |
Returns
scheme-object
Description
Resumes the journaling mechanism after a pause. Returns TRUE if the operation is successful.
Arguments
- acis-opts object contains the journaling information that has to be resumed.
Example
; acis_journal:resume ; 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