Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

techReopenTechFile

techReopenTechFile( 
d_techID 
t_mode 
) 
=> t / nil

Description

Changes the mode of a technology database that has been opened. Use this function to upgrade the mode from r (read only) to a (append).

Mode changes other than from read to append are not recommended. If you change the mode from read or append to write, the contents of both the disk file and virtual memory are deleted. If you change the mode from append or write to read, the database contents are not refreshed and you are not prompted to save your changes when you exit.

Arguments

d_techID

The identifier of the technology database.

t_mode

The mode in which to reopen the database.

Valid values: a (append or edit mode), r (read only), w (delete contents and load empty file)

Value Returned

t

The database was reopened in the specified mode.

nil

The technology database does not exist or is already open in append or write mode.

Example

techReopenTechFile(techID "a")
=> t

Reopens the technology database identified by techID in a (append) mode so you can edit it.


Return to top
 ⠀
X