Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.16 KB

File metadata and controls

48 lines (38 loc) · 1.16 KB

PrevDObj

Description

Function PrevDObj returns the previous deselected object in a list of objects . If the end of the object list is reached, the function returns NIL.

FUNCTION PrevDObj(h : HANDLE): HANDLE;
def vs.PrevDObj(h):
    return HANDLE

Parameters

Name Type Description
h HANDLE Handle to object.

Examples

resultH := PrevDObj(h);
import vs

# Function PrevDObj returns the previous deselected object in a list of objects.
h = vs.FSActLayer()  # handle to the first selected object on the active layer

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

See Also

Relative calls:

Version

Availability: from All Versions

Category