Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.15 KB

File metadata and controls

45 lines (36 loc) · 1.15 KB

FObject

Description

Function FObject returns a handle to the first object in the first layer of the active document. If the document is empty, the function returns NIL.

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

Examples

TraverseObjects

resultH := FObject;
import vs

# Function FObject returns a handle to the first object in the first layer of
# the active document.
objHandle = vs.FObject()
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

See also in tutorials: 10. Iterate the Drawing and Report a Summary

See Also

Relative calls:

Version

Availability: from All Versions

Category