Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Group

Model Interaction, Alias

Description

Save the current aliases list in the specified file.

Specifying a pattern ensures that only

maching

matching aliases are saved. Wildcard characters may

by

be used in pattern.

Required Control

None

Usage

RtlabApi.SaveAlias(fileName, aliasNamePattern)

Input

  • fileName: Absolute or relative path of the file to save.

  • aliasNamePattern: See Glossary.

Output

None

Exception

  • EOK: Success.

  • ENOENT: Cannot open alias file.

  • ENOMEM: Memory allocation error.

  • EIO: Error sending the request or receiving the reply.

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

Examples

None

Related Items

CreateAlias, LoadAlias

Modules

import RtlabApi