The Query tool provides extra functions to retrieve MagicDraw elements by using a query language. Like other Custom tools, the Query tool 'querytool.jar' must be presented in the 'extensions' folder of the Report Wizard plugin. For further information on Custom tools and the installation, see Custom tool.

Type the following code in a template to import the Query tool.

#import('query', 'com.nomagic.reportwizard.tools.QueryTool')