hwISession GetHWCHandle

Returns the HyperWorks Record and Playback (HWC) interface object to load HWC files and execute HWC commands.

Syntax

hwISession_handle GetHWCHandle hwcHandle

Application

HyperWorks Tcl Query

Description

This command retrieves a handle to load HWC files and execute HWC commands.

Inputs

hwcHandle
The user-defined name of the HWC handle that you want to create with this command. In the examples below, the HWC handle is "hwcHandle".

Example

To obtain the HWC handle:
hwi GetSessionHandle sessHandle
sessHandle GetHWCHandle hwcHandle
Returns: hwcHandle

Error

Returns the HWC handle name if successful.

Returns an error message if the command fails.