_Use PenPatN instead. _ Procedure PenPat sets the active pen pattern (line style) for the document.
If patNumber is in the range 0 to 71 the linestyle will be set to the corresponding fill pattern. A value in the range -1 to -8, will set the linestyle to one of the defined VectorWorks linestyles.
Fill patterns and their associated constants can be found in the VectorScript Appendix.
PROCEDURE PenPat(patNumber : INTEGER);def vs.PenPat(patNumber):
return None| Name | Type | Description |
|---|---|---|
| patNumber | INTEGER | Pattern/linestyle ID value. |
PenPat(25);
{ uses fill pattern 25 as the active pen pattern }
PenPat(-3);
{ sets a linestyle as the active pen pattern }PenPatN, FPenPatN from Vectorworks 2013
Availability: from All Versions, deprecated from Vectorworks 2013