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

ddsGetCurrentLib

ddsGetCurrentLib( 
) 
=> b_ddLibId / nil 

Description

Accesses the currently selected library in the Library Browser.

If your applications directly access the dmbCurLib variable or call dmGetCurLib, you need to review why. There is no concept of a current library. This function supports those applications that might be sharing information from a form although it might not matter what form the information is from. This function replaces dmbGetCurrentLib.

Arguments

None

Value Returned

b_ddLibId

The ddId of the library that is currently selected in the Library Browser if a form is registered to it.

nil

No library is selected or the Library Browser is not synchronized with any particular form.

Example

> x = ddsGetCurrentLib()
    dd:12347080

Return to top
 ⠀
X