acis-journal
List of: Scheme Data Types
Subjects: ACIS Journal
Contents: Scheme Support

Description: An acis-journal data type is used to control the journaling operation.

Derivation: acis-journal : scheme-object

C++ Type: AcisJournal

External Rep: #[file: "%s" { enabled | disabled } ]

Example: ; acis-journal (data type)

; set a journal file

(define j


(acis_journal:set "file"


"sweep_journal_example"))

;; j

; set version info

(define v (versiontag 7 0 0))

;; v

; Create acis-options using journal and version info

(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]

; Start the journaling operation

(acis_journal:start ao)

;; #t

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

;; u

; Pause the journaling operation

(acis_journal:pause ao)

;; #t

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

;; u1

; Resume the journaling operation

(acis_journal:resume ao)

;; #t

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

;; u2

; End the journaling operation

(acis_journal:end ao)

;; #t
PDF/SCM/09SD.PDF
HTM/DATA/SCM/SCM/09SD/0001.HTM