%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
refIdReference on displayer (reference variable).
numNumber 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.
Napíšte komentár