VS:PenPat: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 5: | Line 5: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | <desc> | ||
<b>Use [[VS:PenPatN|PenPatN]] instead. </b> | |||
Procedure PenPat sets the active pen pattern (line style) for the document. | Procedure PenPat sets the active pen pattern (line style) for the document. | ||
Latest revision as of 20:47, 11 November 2015
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
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
patNumber INTEGER Pattern/linestyle ID value.
Example
VectorScript
PenPat(25); { uses fill pattern 25 as the active pen pattern } PenPat(-3); { sets a linestyle as the active pen pattern }
Python
Version
Availability: from All Versions, deprecated from Vectorworks 2013
See Also
PenPatN, FPenPatN from Vectorworks 2013
[[VS:PenPatN|PenPatN]], [[VS:FPenPatN|FPenPatN]] from Vectorworks 2013