hwISession GetCurrentClient

Returns the name of the active client.

Syntax

hwISession_handle GetCurrentClientfilename

Application

HyperWorks Tcl Query

Description

Returns the name of the active client or an empty string if an error occurs. The possible client names are determined by which clients are loaded.

Inputs

filename
The name of the active client.

Example

To get the name of the active client:
hwi GetSessionHandle mySessionName
mySessionName GetCurrentClient

Error

Success (0) or an error code.