Expedition PCB: Get Polygon Area

Document created by al_layson on Nov 29, 2010Last modified by al_layson on Aug 8, 2012
Version 3Show Document
  • View in full screen mode

GetPolyArea.vbs will report the area of a selected polygon. This will report both Closed and Open Items as shown in the Dialog ("Closed Area =" vs "Open Area ="). This will report on any Grfx items, regardless of whether or not it is a closed polygon and considers only the vertices and not the width (Beware of GIGO). The guaranteed area is for closed polygons.




Enhanced to allow user to set the Precision (Decimal Places) by modifying the following line in the script:


     Const PRECISION=6


Also included notation of negative area results in the GetPolyArea Results dialog.