tracking_node_id#

viewport.tracking_node_id(p0: int) int#

Specify the node id to track. Tracking causes the viewer (camera) to stay tuned on the position chosen as the model moves.

One should also specify the part that contains this node id, because node ids are only unique within parts in EnSight.
Args:
p0:

‘nid’ The id of the node that will be tracked

Examples:
ensight.viewport.select_begin(0)
ensight.viewport.track("part_centroid")
ensight.viewport.tracking_part_id(9)
ensight.viewport.select_begin(2)
ensight.viewport.track("node_number")
ensight.viewport.tracking_part_id(21)
ensight.viewport.tracking_node_id(983)
Returns:

zero on success, non-zero on error