Procedure AddVectorFillLayer is used to add layers to a vector fill definition. This procedure call should follow a call to BeginVectorFillN.
The input parameters for a vector fill layer match the inputs from the right side of the VectorWorks hatch editor dialog.
A color table listing with associated index values can be found in the Script Appendix.
PROCEDURE AddVectorFillLayer(
xStart : REAL;
yStart : REAL;
xRepeat : REAL;
yRepeat : REAL;
xOffset : REAL;
yOffset : REAL;
dashFactor : REAL;
lineWeight : INTEGER;
colorIndex : INTEGER);def vs.AddVectorFillLayer(xStart, yStart, xRepeat, yRepeat, xOffset, yOffset, dashFactor, lineWeight, colorIndex):
return None| Name | Type | Description |
|---|---|---|
| xStart | REAL | X coordinate of fill origin. |
| yStart | REAL | Y coordinate of fill origin. |
| xRepeat | REAL | X coordinate of fill repeat origin. |
| yRepeat | REAL | Y coordinate of fill repeat origin. |
| xOffset | REAL | X coordinate of fill offset origin. |
| yOffset | REAL | Y coordinate of fill offset origin. |
| dashFactor | REAL | Dash factor of layer(percentage of fill line that is solid). |
| lineWeight | INTEGER | Line weight of layer, in mils. |
| colorIndex | INTEGER | Pen color of layer. |
Follows a call to BeginVectorFill. The input for the layer match the input from the right side of the hatch editor dialog.
Availability: from MiniCAD7.0.1