Nearest_Object.vbs

Description

This script selects a geometry feature of the type specified, nearest to the coordinates specified.  The user is required to enter a feature type (Points, Lines, Surfaces or Volumes) and coordinates.  A point will be created at the coordinates specified and the nearest object of the type specified is selected.  This can be useful for selecting features in a certain known location in a complex model, or for checking for rogue or superfluous geometry features in CAD imported geometry that may cause connectivity problems

Notes

1.       THIS SCRIPT IS NOT PART OF LUSAS SOFTWARE AND AS SUCH IS NOT QUALITY APPROVED OR SUPPORTED. IT IS PROVIDED ON AN AS IS BASIS FOR DEMONSTRATION PURPOSES ONLY.

2.       The script will only select points, lines, surfaces and volumes and not nodes or elements.

3.       A point is created at the coordinates specified.  If there is already a point at this location, the points may merge together.