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 HANDLEresultH := 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
Relative calls:
- NextObj | PrevObj
- FObject | LObject
- FSActLayer | LSActLayer
- FSObject | LActLayer
- NextDObj | PrevDObj
- NextSObj | PrevSObj
Availability: from All Versions