beautypg.com

Edit function window overview – MTS Multipurpose Elite User Manual

Page 279

background image

Functions Tab Properties

Description

Item

Displays the function name. The name cannot contain
spaces, begin with a number, or contain special
characters.

Function Name

Displays the arguments of the function. All
user-defined functions must follow Python naming
rules.

Arguments

Show the user-defined type of functions. Functions
created in the Function Editor are in the Test
Definition category.

Category

(Optional) Displays a description of the function.

Description

Adds a function. Opens the Edit Function window.

Add

Deletes the selected function.

Delete

Edits the selected function. Opens the Edit Function
window.

Edit

Copies the selected function.

Copy

Updates all geometry-specific functions by removing
all existing geometry-specific functions and copying

Update All

all functions defined in all geometries in the Generic
Domain.

For More Information

Concept
Task

Edit Python Functions

(p. 282)

Create Variables Used in Python Function Example

(p. 283)

Edit Function Window Overview

Access

Define tab > Functions tab > Add button

Use the Edit Function window to create user-defined functions using the Python programming language.
The Edit Function window allows you to:

Create multi-line calculations and use them across test runs and analyses.

MTS TestSuite | 279

Working with Variables