Sets the class fill style to use the specified hatch pattern. The function return value will be TRUE if the operation was successful.
FUNCTION SetClVectorFill(
className : STRING;
hatchName : STRING): BOOLEAN;def vs.SetClVectorFill(className, hatchName):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| className | STRING | Name of class. |
| hatchName | STRING | Name of hatch pattern. |
resultOK := SetClVectorFill('Wall', 'Example');import vs
# Sets the class fill style to use the specified hatch pattern.
className = 'None'
hatchName = 'Example'
ok = vs.SetClVectorFill(className, hatchName)
if ok:
vs.Message('SetClVectorFill succeeded')
else:
vs.Message('SetClVectorFill failed')Availability: from VectorWorks9.0