Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.14 KB

File metadata and controls

46 lines (34 loc) · 1.14 KB

PenPat

Description

_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

Parameters

Name Type Description
patNumber INTEGER Pattern/linestyle ID value.

Examples

VectorScript

PenPat(25);
{ uses fill pattern 25 as the active pen pattern }

PenPat(-3);
{ sets a linestyle as the active pen pattern }

Python

See Also

PenPatN, FPenPatN from Vectorworks 2013

Version

Availability: from All Versions, deprecated from Vectorworks 2013

Category