Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

ddGetStartup

ddGetStartup( 
t_fileName 
[ b_contextId ] 
)
=> t_filePath / nil 

Description

Looks for t_fileName in each standard place, and if it is not there, in stdPlace/share/cdssetup.

The standard places are usually

  1. The work area if there is one, else the current working directory
  2. $HOME
  3. The project (if TDM is in use)
  4. $CDS_SITE, if it has been defined
  5. $CDS_INST_DIR, if it has been defined
  6. The installation directory

ddGetStartup calls trigger functions registered on the triggers PreGetStartup and PostGetStartup.

Arguments

t_fileName

The first filename found.

b_contextId

The function changes the working directory to the one implied by b_contextId (if it differs from the current working directory).

Value Returned

t_filePath

The path to the first file found.

nil

The filename was not found.

Example

ddGetStartup( "cds.lib" ) 
=> "/home/guest/cadence/cds.lib"

Return to top
 ⠀
X