hwISession RegisterExternalFunction

Registers the given external function.

Syntax

hwISession_handle RegisterExternalFunctionfilename, function_name, num_arguments

Application

HyperWorks Tcl Query

Inputs

filename
The name of the dll or shared object file to be registered.
function_name
The name of the function.
num_arguments
The number of arguments.

Example

To export the contents of the current session to an HTML or XML report:
hwi GetSessionHandle mySessionName
mySessionName PublishSession myReportName 20 

Error

Success (0) or an error code.