ManualArrangeSetCut
Name
ManualArrangeSetCut
When to use it
When the optimization process is NOT running.
NOT during the OnFinish or OnAfterManualArrange event.
After the ManualArrangeNumberOfCuts was set.
Prototype
HRESULT ManualArrangeSetCut(
Index: long /*[in]*/,
TopX: long /*[in]*/,
TopY: long /*[in]*/,
BottomX: long /*[in]*/,
BottomY: long /*[in]*/
);
Explanations
Set the coordinates of an existing cut on this layout.
Parameters
Index is the index of the cut to be set. Index is between 0 and ManualArrangeNumberOfCuts - 1.
TopX, TopY, BottomX, BottomY - the coordinates of the extremities of the cut.
See Also
How to arrange the pieces manually, ManualArrangeNumberOfCuts, NumberOfCuttings, GetCut.