
! script name: colors.d/highlighttypes
! topic: highlight contour defined by type numbers

!A
!A NAME:
!A
!A 	Highlighttypes
!A
!A DESCRIPTION:
!A
!A 	This script allows a contour that was defined using Type numbers to be
!A 	highlighted.  The highlighting includes direction arrows, the direction
!A 	the contour was defined.
!A
!B INSTRUCTIONS:
!B
!B 	PICK TYPES TO BE HIGHLIGHTED: Pick an element of the type contour to be
!B 		highlighted.
!B

stat=ChangeLabelStr("ScriptNameStatus","Function: highlighttypes ")

DIM Destination$[256]
DIM Answer$[256]

Pick_loop:!
E1=PickTypeEnt("PICK TYPES TO BE HIGHLIGHTED")
IF (ExitScript(Destination$)) THEN Leave

Stat=HighlightTypes(E1,WsTypesPen,WsDirArrowOn)

GOTO Pick_loop

Leave:!
IF (NOT LEN(Destination$)) THEN
	 LOAD "typecontrol"
ELSE
	 LOAD Destination$
END IF
END
