
! script name: surfaces.d/mindensity
! 3dtopic: Sample - change plotting density of surface type

!A
!A NAME:
!A
!A 	Minimum Surface Plot Density
!A
!A DESCRIPTION:
!A
!A 	This script allows the plotting density of a surface to be changed.
!A
!B INSTRUCTIONS:
!B
!B 	NO HELP AVAILABLE AT THIS TIME
!B
!C NOTE:
!C
!C 	This is an unsupported sample script.
!C

stat=ChangeLabelStr("ScriptNameStatus","Function: minimum surface plot density ")

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


Ploop:!

Plotu= 0.1
Plotv= 0.1

Stat=ChangeAllDensity(WsNurbSurfEnt,Plotu,Plotv)
Stat=ChangeAllDensity(WsCubicSurfEnt,Plotu,Plotv)


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