poIIsoValueCtrl SetProjectionRule

Sets the projection rule for projecting 3D tensors to the 2D element plane.

Syntax

iso_handle SetProjectionRule rule

Application

HyperView Tcl Modify

Description

This command retrieves the projection rule to be applied for the 3D tensor, while projecting a 3D tensor to the elemental plane. Possible argument options include: "none" or a string containing two integer values separated by a space (for example, "2 3"). The two numbers that are used represent the primary and secondary axis for projection (1 = x-axis, 2 = y-axis, and 3 = z-axis).

Inputs

rule
The rule string.

Example

To set the projection rule for the iso controller:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetIsoValueCtrlHandle iso_handle
iso_handle SetProjectionRule “none” # no projection
iso_handle SetProjectionRule “2 3” # primary is y-axis and secondary is z- axis
hwi CloseStack

Errors

Returns a non-zero value if an error occurs.