SetStockHoleVertex

Name

 

            SetStockHoleVertex

 

When to use it

 

            After setting the sizes using the SetStock and SetStockHole methods and before the OnFinish event ends.

 

Prototype

 

SetStockHoleVertex(

            IndexStock : long/*[in]*/,

            IndexHole : long/*[in]*/,

            IndexVertex: long /*[in]*/,

            X: double /*[in]*/,

            Y: double /*[in]*/,

            UserDefinedData: long/*[in]*/

);

 

 

Explanations

 

            Sets the coordinates of each vertex of the polygon representing the sheet. Vertices MUST be given in counter-clock direction.

 

Parameters

 

            IndexPiece - index of the stock whose vertices are to be set.

            IndexHole - the index of the hole whose information are set.

            IndexVertex - index of the vertex whose coordinates are set.

            X, Y - the coordinates of vertex.

            UserDefinedData- an user defined value.

 

See also

 

    SetStock, SetStockHole, GetStockHoleVertex.