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

axlSetMainSetupDBLCV

axlSetMainSetupDBLCV( 
t_session 
t_libName
t_cellName
t_viewName
[ ?mode t_mode ]
) 
=> x_mainSDB / nil

Description

Sets the working setup database for a given session to the setup database specified by the given library, cell, or view.

This function is useful in pointing to an existing database after you create a new session.

Arguments

t_session

Name of the session.

t_libName

Name of the library.

t_cellName

Name of the cell.

t_viewName

Name of the view.

?mode t_mode

Access mode

Valid values:

  • "a" for append mode. This is the default mode.
  • "r" for read-only mode

Value Returned

x_mainSDB

Handle to the setup database is returned.

nil

Handle to the setup database is not returned.

Examples

Creates a new session, session0, and sets up a database to the existing database for the adexl view of the myCell cell in the myLib library.

axlCreateSession("session0")
x_mainSDB=axlSetMainSetupDBLCV("session0" "myLib" "myCell" "adexl" ?mode "r")

Note: Only read-only access has been provided to the setup DB.


Return to top
 ⠀
X