Function LObject returns a handle to the last object in the first layer of the active document.
FUNCTION LObject : HANDLE;def vs.LObject():
return HANDLEresultH := LObject;import vs
# Function LObject returns a handle to the last object in the first layer of
# the active document.
objHandle = vs.LObject()
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