
! script name: delete.d/cleanup
! topic: cleanup database

!A
!A NAME:
!A
!A 	Cleanup Database
!A
!A DESCRIPTION:
!A
!A 	This script cleans up the database.
!A
!B INSTRUCTIONS:
!B
!B 	There are no questions asked.
!B

stat=ChangeLabelStr("ScriptNameStatus","Function: cleanup database ")

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

StdWorkplane

DeActivateUndo
Stat= DelEmptyGroups
Stat= DelUnusedProp(WsFixtureWorkplane)
ResolveTransforms
TransformCleanUp
UnSelectAll

Leave:!
Stat=SetInputFormat("n4","")
IF (NOT LEN(Destination$)) THEN
	 LOAD "typecontrol"
ELSE
	 LOAD Destination$
END IF
END
