poIScalarDefine SetProjectionRule

Sets the projection axis information.

Syntax

poIScalarDefine_handle SetProjectionRule rule

Application

HyperView Tcl Modify

Description

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

Inputs

rule
String in the form: "<primary><secondary>" to used a projection rule or "none" to disable projection rule, where primary/secondary is mapped as follows" 1 = X, 2 = Y, 3 = Z.

Example

To set the projection rule to XZ for a result definition:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetProjectionRule "1 3"
hwi CloseStack

Errors

Returns an error code if there was an error setting the projection rule 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.