ClosestNode Method
Returns the index of the node closest to a given point.
See Also | Example
Signature
RetVal = object.ClosestNode(Point)
Object
AecCellLayoutTool,
AecClipVol,
AecGridAssembly,
AecLayoutCurve,
AecLayoutGrid2D,
AecLayoutGrid3D,
AecLayoutTool,
AecSlice,
AecVolumeLayoutTool
The object this method applies to.
Point
Variant (three-element array of doubles); input-only
A 3D point near a layout node.
RetVal
Long
The index of the closest node.
Remarks
The node index is also returned by the Node property of AecAnchorEntToLayoutNode.