getIntDoubleStringParameter

Overview

This utility is used to retrieve the integer (or) double (or) string value from parameters defined in SimLab.

Syntax

Integer Parameter

Result = simlab.getIntParameter("SimLab Parameters")

Double Parameter

Result = simlab.getDoubleParameter("SimLab Parameters")

String Parameter

Result = simlab.getStringParameter("SimLab Parameters")

User Case

For automation project, tool input values can be created as parameters and it can be accessed using this utility in scripting.

Why we need this utility?

In meshing automation projects, we will have different mesh sizes for each mesh controls. These values can be created as parameter in Simlab and given as input for mesh sizes. In future, if user wants to modify the mesh values, it can be done easily by modifying only the parameter values in parameter file instead of changing it in script itself, which is complex and time consuming.

Utility Input/output