Table of Contents

Table of Contents

FlexScript Class - Emulation

Emulation

Description

A class that provides properties for reading from the Emulation object.

Properties

connections Gets all of the emulation connections.
name Gets the name of the variable.
variables Gets all of the emulation variables.

Constructor

Emulation Creates a reference to the Emulation object.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

Emulation.connections

readonly connections

Description

Gets all of the emulation connections.

int numConnections = Emulation().connections.length;
Emulation.Connection myConnection = Emulation().connections[1];
Do no remove, this fixes the anchor on doc.flexsim.com

Emulation.name

readonly string name

Description

Gets the name of the variable.

string name = emulationVariable.name;
Do no remove, this fixes the anchor on doc.flexsim.com

Emulation.variables

readonly variables

Description

Gets all of the emulation variables.

int numVariables = Emulation().variables.length;
Emulation.Variable myVariable = Emulation().variables[1];
Do no remove, this fixes the anchor on doc.flexsim.com

Emulation Constructor

Emulation( )

Description

Creates a reference to the Emulation object.

Emulation emulation = Emulation();