Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

ScenarioExtension Class

ScenarioExtension Attributes

Attribute

Type

Notes

ExtensionGUID

String

Read/Write. A unique GUID for this Extension.

Join

String

Read/Write. The GUID of the step where this Extension rejoins the Scenario.

JoiningStep

ScenarioStep

Read only. The actual step where this Extension rejoins the Scenario, if any.

Level

String

Read only. The number of this Extension as shown in the scenario editor. This is derived from the value of Pos for this object and the owning step.

Name

String

Read/Write. The Extension name.
 

  • This should match the name of the linked scenario

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

Pos

Long

Read/Write. The position of the Extension in the Extensions list

Scenario

Scenario

Read only. The scenario that is executed as an alternative path for this Extension.

ScenarioExtension Methods

Method

Type

Notes

GetLastError ()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used as an exception is thrown when an error occurs.

Update ()

Boolean

Update the current ScenarioExtension object after modification or appending a new item. If false is returned, check the GetLastError function for more information.