Description

Calls Analyzer. Passes the file names, output database title, the template to be used when creating the output database, flags and a filter indicating the types of design elements to be analyzed.

Syntax

status = DEANAnalyze2W32( <Design>, <Analysis>, <Title>, <Template>, <Filter>, <Flags> )

Parameters

ParameterInput/OutputTypeDescription
DesignInputStringThe path of the database to analyze. Separate server and pathname with !!
AnalysisInputStringThe path of the analysis output database. Separate server and pathname with !!
TitleInputStringThe title to be used if a new analysis database is created.
TemplateInputStringThe path to the template to use if a new analysis database is created. Separate server and pathname with !!. Specify the empty string, "", to use the default template.
FilterInputStringA Context Filter string specifying which design elements should be analyzed. Specify the empty string, "", to analyze the full design.
FlagsInputLongThis parameter allows you to control how Analyzer runs. You can pass any of the DBDEAN Flag Constants. You can pass a combination of flags by using a plus sign (+) to combine them.

Return Value

Return ValueTypeDescription
statusIntegerA return value of zero (0) indicates that no error has occurred. If the return value is non-zero, use DEANStringLoadW32 to retrieve the error message associated with the error code.

Example

status = DEANAnalyze2W32(_
	"myserver!!dbtorun.nsf",_ 'database to analyze
	"dbout.nsf",_ 'analysis database for output
	"Analysis of dbtorun",_ 'title for output database
	"",_ 'use default template,
	"-*",_ 'analyze database level properties only
	DBDEAN_FLAG_DEFAULT) 'create analysis database if it doesn't exist