"You can use this function to retrieve the position of a PlugIn Object, from within the PlugIn Object itself. However, it will only display its position relative to the internal origin. Gerard Jonkers, 2007/01/08: See also my Absolute_Origin article about origins on the VectorLab. "
ハンドルの値で直接検索することは出来ませんが、 対象図形のハンドルをhとすれば、 DSelectAll; SetSelect(h); if Count((LOC='領域図形の名前') & (SEL=TRUE)) <> 1 then 〜 で図形が領域外かどうかを判定出来ます。
また、一時的に図形に名前を付けて、 SetName(h, '仮名'); if Count((LOC='領域図形の名前') & (N='仮名')) <> 1 then 〜 でも判定出来ます。 名前の重複は許されないので、必ず直後に SetName(h, ''); で名前を消してください。
領域で図形を検索するときの判定条件は、図形の一部でも全体でもなく、 図形の中心が領域内にあるか否かですが、 これはPtInRectやPtInPolyによる判定に置き換えることが出来ます。 xC, xYを対象図形の中心座標とすれば、 if not PtInPoly(xC, yC, GetObject('領域図形の名前')) then 〜 で判定出来ます。