Action:
|
Sets the save units scale value in Fileinfo.
|
|
Filename:
|
kern/kern_scm/fileinfo_scm.cxx
|
|
APIs:
|
api_set_file_info
|
|
Syntax:
|
(env:set-save-units-scale scale)
|
|
Arg Types:
|
scale
|
real
|
|
Returns:
|
real
|
|
Description:
|
The
Fileinfo class contains additional file header information, such as the
ACIS product used to save the model,
ACIS version, millimeters per model unit, date model was saved,
ACIS save file version, and other relevant model data. It is required that units and product ID in the save
Fileinfo be populated before you can save a SAT file.
|
|
|
scale specifies the scale value to set.
|
|
Example:
|
; env:set-save-units-scale
|
|
; Set the save units scale.
|
|
(env:set-save-units-scale .5)
|
|
;; 0.5
|
|
; Get the save units scale from the Fileinfo object.
|
|
(env:save-units-scale)
|
|
;; 0.5
|
|
; Change the save units scale.
|
|
(env:set-save-units-scale .7)
|
|
;; 0.7
|
|
; Get the new saved units scale.
|
|
(env:save-units-scale)
|
|
;; 0.7
|