Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 936 Bytes

File metadata and controls

44 lines (35 loc) · 936 Bytes

GetFillSpace

Description

Returns the handle of the index-th fill space in the specified object's aux list.

FUNCTION GetFillSpace(
				h     : HANDLE;
				index : INTEGER): HANDLE;
def vs.GetFillSpace(h, index):
    return HANDLE

Parameters

Name Type Description
h HANDLE Handle to the object containing the fill space.
index INTEGER Index of the fill space to be returned.

Examples

resultH := GetFillSpace(h, 1);
import vs

# Returns the handle of the index-th fill space in the specified object's aux
# list.
h = vs.FSActLayer()  # handle to the first selected object on the active layer
index = 1

objHandle = vs.GetFillSpace(h, index)
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

Version

Availability: from Vectorworks 2018

Category