Commande:

PW_GETNEARESTNODE(

Famille: DIVERS

Desc: retourne l'entit้ la plus proche

Syntaxe: pt ss MeasD Types

Autres informations:

;;; adapted - debugged from (C) 1999-2004, Four Dimension Technologies, Bangalore

;; ! Function : Returns the nearest node (DXF Code 10) around a point from a

;; ! selection set of entities

;; ! Arguments:

;; ! 'pt' - Point, around which to search

;; ! 'ss' - Selection set to search

;; ! 'MeasD' - Measure distances ("Slope"/"Horiz")

;; ! 'Types' - List of target object types to match

;; ! If 'nil' , no criteria to match

;; ! Action : Returns the nearest point and object

E:\powerclic\library.lsp