Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 806 Bytes

File metadata and controls

38 lines (29 loc) · 806 Bytes

CountFillSpaces

Description

Returns the number of fill spaces currently attached to a specified object.

FUNCTION CountFillSpaces(h : HANDLE): INTEGER;
def vs.CountFillSpaces(h):
    return INTEGER

Parameters

Name Type Description
h HANDLE Handle to the object containing the fill spaces to be counted.

Examples

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))

Version

Availability: from Vectorworks 2018

Category