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

axlGetWindowSession

axlGetWindowSession( 
[ w_window ] 
) 
=> t_sessionName / nil

Description

Returns the ADE session associated with a window.

There is a session object associated with each instance of ADE Explorer and ADE Assembler. If you have a session open, you can retrieve that session by using this function.

If you are working in the non-GUI mode, you need to create a new session by using the axlCreateSession function and then associate a setup database with it.

Arguments

w_window

Window ID

Value Returned

t_sessionName

Returns the ADE session name.

nil

Unsuccessful operation.

Examples

Returns the ADE session of the active window:

axlGetWindowSession() 
=> "session0"
axlGetWindowSession( hiGetCurrentWindow()) 
=>"session0"

Return to top
 ⠀
X