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| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
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))Relative calls:
- NextObj | PrevObj
- FObject | LObject
- FSActLayer | LSActLayer
- FSObject | LActLayer
- NextDObj | PrevDObj
- NextSObj | PrevSObj
Availability: from All Versions