poITensorDefine SetResultSystem

Sets the result system of the result definition.

Syntax

poITensorDefine_handle SetResultSystem sys_id

Application

HyperView Tcl Modify

Description

This command, valid only in HyperView - MultiCore profile, sets the result system ID. This is either a valid system locator of the form "id pool_name" or one of the special identifiers. Returns Success (0) or an error code.
Note: The result definition can only be modified if it is not cached.

Inputs

sys_id
This is either a valid system locator of the form "id pool_name" or one of the special identifiers.
  • 0: global system
  • -1: analysis system
  • -2: elemental system
  • -3: tracking system
  • -4: material system
  • -5: ply system

Example

To set the result system of a tensor result definition to analysis system:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle tdefine 3 tensor
tdefine SetResultSystem -1
hwi CloseStack

Errors

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