GetUtilizedRepositoryPiece
Name
GetUtilizedRepositoryPiece
When to use it
During the OnFinish event.
Prototype
HRESULT GetUtilizedRepositoryPiece(
BarIndex : Long/*[in]*/,
RepositoryIndex : Long/*[out]*/,
RepositoryExternalID: Long /*[out]*/,
);
Explanations
Specify which repository piece is used by a particular layout.
Parameters
BarIndex - the index of the layout whose information are extracted. This number is in range [0 ... TotalNumberOfUtilizedRepositoryPieces - 1].
RepositoryIndex - the index of the repository piece which is involved in the current cutting layout. This number is in range [0...NumberOfRepositoryPieces - 1].
RepositoryExternalID is the external ID of the repository piece whose input index is RepositoryIndex. External ID is an integer number which was assigned to each piece in order to be easier identified.
Links