Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

cliReopen

cliReopen(
d_cellViewID
t_mode
)
=> t / nil

Description

Changes the mode of the specified cellview to the given mode. This function is equivalent to the dbReopen function but can handle both Concurrent Layout and non-Concurrent Layout cellviews.

Arguments

d_cellViewID

Database ID of a cellview.

t_mode

A string representing the new mode.

Valid values:

  • r - Reopens the cellview in read mode. Changes are discarded when you switch from edit to read mode.
  • a - Reopens the cellview in append mode. The cellview might refresh when you switch from read or scratch mode to append mode. For example, the cellview data is refreshed only if there are timestamp changes on the disk file.
  • w - Reopens the cellview in write mode. In this mode, the contents of the cellview are truncated.
  • s - Reopens the cellview in scratch mode.

Value Returned

t

The mode change is successful.

nil

The mode change is not successful.

Examples

Opens the cellview cvId in append mode:

cliReopen(cvId "a")
=> t

Related Topics

dbReopen


Return to top
 ⠀
X