Retrieving Ports and Hierarchical Ports of an Experience

The following path lets you retrieve ports and hierarchical ports of an experience and their characteristics.

This page discusses:

See Also
About Workflow Overview

Path to Ports

The input of this workflow is a parameter of SEVLogicalReference type. By default, the input parameter name is p and you can rename it to SEVLogRef.

To access experience ports from the input parameter, perform the following steps and insert the corresponding methods in your template:

Step Parameter Type or Iteration Variable Type Category Method Return Type
1 SEVLogRef: SEVLogicalReference Navigation System Experience Validation exp: COSIM
2 exp: COSIM Outgoing relationships To hasPort hasPort: COSIM’s hasPort
3 hasPort: COSIM’s hasPort Outgoing relationships To COSIM CosimPort

Go to Path to Port Data table below.

port: COSIM CosimPort
To COSIM CosimHierarchicalPort

Go to Path to Hierarchical Port Data table below.

hPort: COSIM CosimHierarchicalPort

Path to Port Data

To access information on ports, follow this step:

Step Parameter Type or Iteration Variable Type Category Method Return Type
4 port: COSIM CosimPort Attributes title String
declaredType String
V_Direction String
InitialValue String
description String

Path to Hierarchical Port Data

To access information on hierarchical ports, follow these steps:

Step Parameter Type or Iteration Variable Type Category Method Return Type
4 hPort: COSIM CosimHierarchicalPort Outgoing relationships To hasPort hPortHasPort: COSIM CosimHierarchicalPort’s hasPort
Attributes description String
title String
5 hPortHasPort: COSIM CosimHierarchicalPort’s hasPort Outgoing relationships To COSIM CosimHierarchicalPort

Go to Step 4 of this table for recursion between hierarchical ports.

hPort: COSIM CosimHierarchicalPort
To COSIM CosimPort

Go to Step 4 of previous table to access port data.

port: COSIM CosimPort
Note: To manage recursion, you can use one of the following structure elements: