Returns the number of fill spaces currently attached to a specified object.
FUNCTION CountFillSpaces(h : HANDLE): INTEGER;def vs.CountFillSpaces(h):
return INTEGER| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to the object containing the fill spaces to be counted. |
resultN := CountFillSpaces(h);import vs
# Returns the number of fill spaces currently attached to a specified object.
h = vs.FSActLayer() # handle to the first selected object on the active layer
count = vs.CountFillSpaces(h)
vs.Message('CountFillSpaces returned: ' + str(count))Availability: from Vectorworks 2018