poITracingCtrl SortNodes

Sorts nodes of the Tracing panel based on certain rules.

Syntax

poITracingCtrl_handle SortNodes rule

Application

HyperView Tcl Modify

Description

This command rearranges all tracing nodes based on user provided rules.

Inputs

rule
"x”/ "y” / "z”: sort nodes based on its x,y,z coordinates in ascending order.
"x+”/ "y+” / "z+”: sort nodes based on its x,y,z coordinates in ascending order.
"x-”/ "y-” / "z-”: sort nodes based on its x,y,z coordinates in descending order.
"sp”: sort nodes by the shortest path for each component, starting node is the first node of each component in the tracing node list.
"id”: sort nodes based on the nodes' ID.
"reverse”: reverse the current node list.

Errors

Returns 0 if successful, otherwise an error code.