SchemeExt:Env:set-save-units-scale

From DocR23

Jump to: navigation, search

Contents

Action

Sets the save units scale value in Fileinfo.

Filename

scm/scmext/kern/fileinfo_scm.cpp

APIs

api_set_file_info

Syntax

(env:set-save-units-scale scale)

Argument Types

Argument Scheme Data Type
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.

Arguments

  • 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
Personal tools