hwISession GetJPGExportOptionsHandle

Obtain a handle to the session’s JPGExportOptions object.

Syntax

hwISession_handle GetJPGExportOptionsHandlemyHandle

Application

HyperWorks Tcl Query

Inputs

myHandle
The name to be used for the JPGExportOptions handle.

Example

To obtain a handle to the session’s JPGExportOptions object:
hwi GetSessionHandle mySessionName
mySessionName GetJPGExportOptionsHandle myJpgOptions

Errors

Success (0) or an error code (see below).

3 = HW_InvalidHandle - The handle used to invoke the method is no longer valid.

HW_AllocFailed - Out of memory.

Additionally, a Tcl error will occur if myHandle already exists.