isParameterPresent

Overview

This utility is used to check the availability of SimLab parameters in database.

Syntax

ParameterFound = simlab.isParameterPresent("ParameterName")

User Case

To stop the script execution if required parameters are not present in database.

Why we need this utility?

For meshing automation projects, traditionally the mesh size values will be given as simlab parameters. Script execution will fail if some these parameters are not present. In this case we can make use of this utility to validate the availability of required parameters and continue the script execution.

Utility Input/output

Sample