AddEntities(Int32,LineEntity[]) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The AddEntities() method adds multiple entities to a line in a single method call.
'Declaration
Public Overloads Shared Sub AddEntities( _
ByVal lineId As Integer, _
ByVal lineEntities() As LineEntity _
)
'Usage
Dim lineId As Integer
Dim lineEntities() As LineEntity
LineEntLink.AddEntities(lineId, lineEntities)
public static void AddEntities(
int lineId,
LineEntity[] lineEntities
)
Parameters
- lineId
- Required. The ID of the line to which the entities are being added.
- lineEntities
- Required. The entities to be added to the line.
Observe the following input parameter rule:
- Required non-DB* parameters: Must pass a value. Cannot be empty or null.
For a line's production rates to be properly calculated, you must observe the following guidelines when adding entities to a line:
- Only entities that can run jobs, capture utilization, and track OEE can be added to a line.
- The line's parent entity cannot be added to the line.
- An entity that is already a member of the line cannot be added again.
- An entity that is already a member of another line cannot be added to this line.