Returns the fill or hatch pattern of the specified class.
A positive return value in a range of 0 to 71 is the index of the bitmap fill pattern of the class. A negative value is the negative of the fill pattern index (index * -1).
Fill patterns and their associated constants can be found in the Sciprt Appendix.
FUNCTION GetClFPat(className : STRING): LONGINT;def vs.GetClFPat(className):
return LONGINT| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class. |
Returns the fill pattern of the class named className.
PROCEDURE Example;
BEGIN
Message(GetClFPat('Dimension'));
END;
RUN(Example);def Example():
vs.Message(vs.GetClFPat('Dimension'));
Example();Availability: from VectorWorks8.0