Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

gePointQuery

gePointQuery( 
w_windowId 
l_point 
t_filterProc 
)
=> d_figId / nil 

Description

Returns the ID of the object found at the point l_point.

This function searches the database of the cellview in the window w_windowId at the point l_point. It chooses the object with the edge closest to the point. The point must be inside the object. It is the same as geSingleSelectPoint except it doesn’t modify the selected set.

Arguments

w_windowId

Database ID of the window containing the object.

l_point

Location of the point used for the search.

t_filterProc

The name of a user-defined procedure which accepts d_figID, and returns nil if figID is filtered.

Value Returned

d_figId

The ID of the object found in the query.

nil

No object is found.

Examples

Returns the ID of the database object found at the point 1:1, only if the object is a rect.

procedure(myFilterProc(objId)
if(objId~>objType=="rect" t nil)
)
gePointQuery( win3 1:1 "myFilterProc")

Related Topics

Selection Functions
geSingleSelectPoint

Return to top
 ⠀
X