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:

  • In the case that less line segments are defines as it is set then the length of new lines is 0 on X/Y axis.

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

  • The lines must be added first, then it is possible to set them.