Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.11 KB

File metadata and controls

43 lines (35 loc) · 1.11 KB

FSActLayer

Description

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

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

Examples

resultH := FSActLayer;
import vs

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

See also in tutorials: 20. Read a Polyline and Build Walls Along Its Path

See Also

Relative calls:

Version

Availability: from All Versions

Category