HI_SetPLineNumItems

HI_SetPLineNumItems

%HI_SetPLineNumItems function


Function

The function sets number of line segments in polyline from the script.

Declaration

%HI_SetPLineNumItems( INT in _refId, INT in _num )

Parameters

refId

Reference on displayer (reference variable).

num

Number of line segments.

Note

Setting the number of line segments in polyline:

  • If the polyline had a smaller number of lines defined than set, then the new segments have length = 0 in both axes.

  • The lines are set with the functions Hi_SetdistX, Hi_SetdistY.

  • Only the sections in the line are set - i.e. they must be added first and then set.