Versions Compared

Key

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

Group

Model Interaction, Alias

Description

Rename an alias.

Required Control

System control

Usage

RtlabApi.RenameAlias(aliasName, newAliasName)

Input

  • aliasName: Name of the alias to be renamed.

  • newAliasName: New name of the alias.

Output

None

Exception

  • EOK: Success.

  • EPERM: Configuration control has not been granted to this client.

  • EINVAL: Alias not found.

  • EACCES: The new alias already exists.

  • EBADF: Model not specified by previous Connect or

SetCurrentModel
  • OpenProject.

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

Examples

None

Related Items

CreateAlias, RemoveAlias.

Modules

import RtlabApi