Get the crop of a cropped image.
FUNCTION GetImageCropObject(obj : HANDLE): HANDLE;def vs.GetImageCropObject(obj):
return HANDLE| Name | Type | Description |
|---|---|---|
| obj | HANDLE |
resultH := GetImageCropObject(obj);import vs
# Get the crop of a cropped image.
obj = vs.FSActLayer() # handle to the first selected object on the active layer
objHandle = vs.GetImageCropObject(obj)
if objHandle is not None:
vs.Message('Created object handle: ' + str(objHandle))Availability: from Vectorworks 2014