Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.1 KB

File metadata and controls

47 lines (34 loc) · 1.1 KB

PenPat

Description

Use [[VS:PenPatN|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 [[VS:Function Reference Appendix#Fill Patterns|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|PenPatN, FPenPatN|FPenPatN from Vectorworks 2013

Version

Availability: from All Versions, deprecated from Vectorworks 2013

Category

  • Document Attributes