poIVectorDefine SetDataType

Sets the data type of the result definition.

Syntax

poIVectorDefine_handle SetDataType type

Application

HyperView Tcl Modify

Description

This command, valid only in HyperView - MultiCore profile, sets the data type for the result definition. Returns Success (0) or an error code.
Note: The result definition can only be modified if it is not cached.

Inputs

type
The data type.

Example

To set the data type of a vector result definition to Velocity:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle vdefine 3 vector
vdefine SetDataType Velocity
hwi CloseStack

Errors

Returns an error code if there was an error setting the data type and sets error condition on the session handle. See session_handle GetError.

Related Topics

See the HyperView - MultiCore APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.