Sets the fill pattern of the specified class.
To apply a bitmap fill pattern, use a positive value corresponding to the desired fill pattern index. To apply a vector fill, use the negative of the index of the vector fill (index * -1).
Fill patterns and their associated constants can be found in the VectorScript Appendix.
PROCEDURE SetClFPat(
className : STRING;
fillpattern : LONGINT);def vs.SetClFPat(className, fillpattern):
return None| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class. |
| fillpattern | LONGINT | Fill pattern index value. |
Assigns a fill pattern to the class named className.
SetClFPat('Grassy Cover',42);Availability: from VectorWorks8.0