Option:Save version

From DocR21

Jump to: navigation, search


Contents

Action

Sets the ACIS version to be used by the part:save Scheme extension.

Name String

save_version

Scheme

Type Values Default
integer three or four digit ACIS version installed version

Description

The ACIS save version controls the save file format. The value for the save version is obtained by multiplying the major version by 100 and adding the minor version. For example, version 2.1 is represented as 201, version 3.0 is represented as 300, and release 19 is represented as 1900. The save version number does not change with service packs. The default value is the currently installed version of ACIS.

The save_version option applies only to the Scheme AIDE. In C++ applications, the API api_save_version is used to set the save version.

Note: The terms "version" and "release" are synonymous and can be used interchangeably. The term "release" and thus "Rn" (where "n" is the major version number) began with R10.


ACIS Versions
1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8
2.0, 2.1
3.0, 3.1
4.0
5.0
6.0
7.0
8.0
10.0
11.0
12.0
13.0
14.0
15.0
16.0
17.0
18.0
19.0
20.0
21.0

Example

; save_version 
; Create a solid block.
(solid:block (position 0 0 0) (position 10 10 10)) 
;; #entity 2 1 
; Save the currently-active part to the named file. 
(part:save "test") 
;; #t 
; Set the save_version option to ACIS 5.0. 
(option:set "save_version" 500) 
;; 700 
; Save the solid block again in ACIS 5.0 format. 
(part:save "test50") 
;; #t
Personal tools
Live