Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1020 Bytes

File metadata and controls

42 lines (34 loc) · 1020 Bytes

LSActLayer

Description

Function LSActLayer returns a handle to the last selected object on the active layer. If no objects are selected, the function returns NIL.

FUNCTION LSActLayer : HANDLE;
def vs.LSActLayer():
    return HANDLE

Examples

resultH := LSActLayer;
import vs

# Function LSActLayer returns a handle to the last selected object on the
# active layer.
objHandle = vs.LSActLayer()
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

See Also

Relative calls:

Version

Availability: from All Versions

Category