
! script name: parasolids.d/askdescription
! solids: get the parasoloid description of an entity.

!A
!A NAME:
!A
!A 	Ask descriprion
!A
!A DESCRIPTION:
!A
!A 	This script gets parasolids description of an entity.
!A
!B INSTRUCTIONS:
!B
!B 	PICK ELEMENT: Pick the element.
!B
!B OPTIONS:
!B		
!B	This script will not be used by customers. Cryptic
!B	modeler data. Should not go on a button.
!B
!# see also - htdocs/help.d/parasolids.htm


stat=ChangeLabelStr("ScriptNameStatus","Function: ask description ")

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

FadeUndoButtons

Stat= GLPlotOn
Pick_loop:!

E1=WPKPickEntity("PICK ENTITY")
IF (ExitScript(Destination$)) THEN Leave
IF NOT WPKIsEntity(E1) THEN Pick_loop

Stat= WPKAskDescription(E1)


GOTO Pick_loop

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