sevSession
sevSession(o_entity) =>t_session/nil
Description
Displays the session ID of the simulation environment such as the ADE L window, the schematic window associated with ADE L, or a form launched from ADE L.
Arguments
|
The object with which the simulation environment session is associated. For example, form or window. |
||
Value Returned
|
The session ID of the current simulation environment window. |
||
|
There is no simulation environment session object currently tied to the entity. |
||
Examples
When you specify hiGetCurrentWindow() as the object, the function returns the session ID of the current ADE L window.
sevSession(hiGetCurrentWindow())
=> sevSession2
When you specify hiGetCurrentForm() as the object, the function returns the session ID of the ADE L window associated with the currently opened form.
sevSession(hiGetCurrentForm())
=> sevSession2
When you specify the windowID as the object, the function returns the session ID associated with the windowID.
sevSession(window(8))
=> sevSession2
Return to top