Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 914 Bytes

File metadata and controls

44 lines (35 loc) · 914 Bytes

FindObjAtPt_GetCount

Description

Gets the number of objects in the find iterator

FUNCTION FindObjAtPt_GetCount(finderID : LONGINT): INTEGER;
def vs.FindObjAtPt_GetCount(finderID):
    return INTEGER

Parameters

Name Type Description
finderID LONGINT

Examples

GetSymLoc(h,x,y);
   FinderID := FindObjAtPt_Create(ActLayer,1,1,x,y,1");
   NumObjsFound := FindObjAtPt_GetCount(FinderID);
   {AlrtDialog(Concat(NumObjsFound));}
   For I := 0 to NumObjsFound-1 DO
   	BEGIN
   	TempObjHand := FindObjAtPt_GetObj(FinderID,I);
import vs

# Gets the number of objects in the find iterator.
finderID = 1

count = vs.FindObjAtPt_GetCount(finderID)
vs.Message('FindObjAtPt_GetCount returned: ' + str(count))

Version

Availability: from Vectorworks 2014

Category