Click or drag to resize

TrackingServicesInitializePanel Method

Initializes a new panelized printed circuit board (PCB) into the specified Batch. If the PCBCircuitId property aligns with the Id of the PCBCircuit from the ECAD definition, the PCBCircuitItem will be associated to that circuit. If no match is found, the PCBCircuitItem will be associated to the PCBCircuit by matching the CircuitOrder property of the PCBCircuitItem to the CircuitOrder of the PCBCircuit from the ECAD definition.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public PCBPanelItem InitializePanel(
	Guid sessionId,
	Guid batchId,
	PCBPanelItem panel,
	bool generateMissingBarcodes = false
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
batchId
Type: SystemGuid
The 128-bit unique identifier (Id property) of the Batch.
panel
Type: FactoryLogix.xTend.DataObjectsPCBPanelItem
A PCBPanelItem object representing the panelized circuit board to be initialized.
generateMissingBarcodes (Optional)
Type: SystemBoolean
Generate GUIDs as temporary placeholder barcodes for circuits or panels that do not have a the UID property set (empty)

Return Value

Type: PCBPanelItem
A PCBPanelItem representing the newly created and initialized panel, with valid Id properties.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
AlreadyExistsExceptionOne or more of the specified UID's already exist, and the panel cannot be created.
BatchNotFoundExceptionA Batch with the specified batchId cannot be found.
BarcodeTemplateValidationExceptionA barcode failed barcode template validation.
BatchNotPanelizedExceptionThe associated assembly is not panelized.
CircuitCountExceptionEither there are no circuits defined or the circuit count exceeds the ECAD circuit definition.
InitializationExceptionA validation or initialization error.
See Also