Calculating Shot Count

Divide the figures in the specified area into the specified size and counts the number of figures after the division.

How to Execute

Run from the Calculate Shot Count Dialog

Do one of the following to open Calculate Shot Count dialog:

  • Select Calculate/Shot Count from the context menu that appears when screen is pressed with right-click or right-drag.
  • Right-click on the blank part of Calculation Panel to open the context menu, then select Shot Count.

Screen R Click Menu Shot Count

Dialog Parameters

Screen Shot Count Dialog

Item Action
Shot Size Specify the width and height of the figure to be split.
Area Specify an area.

Specify the calculation area in Area and press OK to begin calculation.

The calculation result is saved to Calculation Panel datalist and displayed on screen.

Shot Count Added

Right-click on the calculation result displayed on screen or in the datalist to open the context menu, containing the following items in addition to the default context menu items.

Item Action
Show Show/hide the calculation result on screen.
Display/Name Show/hide the name of the calculation result on screen.
Display/Coordinates Show/hide the coordinates of the calculation result on screen.
Color Change the display color of the calculation result on screen.

Load Area File and Calculate

Select Load AreaFile/Shot Count from the main menu to open Open AreaFile for Shot Count dialog.

File Dialog

Select an Area File and press OK. The calculation is performed on each area described in the file.

Refer to Area File page.

Output the Calculation Results to a File

The calculated results can be saved to a text file in CSV format.

Click the icon on Calculation Panel and select Shot Count to open the Save Shot Count dialog.

Save Shot Count Dialog

Specify the file name and press OK to save the results. The output has the following format:

#Shot Count Created by nebv VERSION (uid=UID) USER@HOSTNAME DATE
#COMMAND addShotCount
#ARGS 
#xmin,ymin,xmax,ymax,count
489.4,343.5,597.5,447.3,400

Run from the Command Line

Specify --shot-count-file option with an Area File at startup to execute calculation on each area described in the file after startup. You can also specify the filename to save the calculation results using --shot-count-file-out option.

By specifying as follows, the calculation results for the specified range in figure_file will be output to shot_count_result.txt:

$ nebv --shot-count-file=/path/to/areafile.txt --shot-count-file-out=/path/to/shot_count_result.txt  /path/to/figure_file
$ nebv --shot-count-file="0,0,100,100" --shot-count-file-out=/path/to/shot_count_result.txt  /path/to/figure_file

For Area File syntax, Refer to Area File page.

See --shot-count-file, -shot-count-file-out in Boot Options page.

The calculation method of Shot Count and the display method of the result can be changed from the Preference. See preference Action/Shot Countpage for detail.

Restrictions

  • Only figures that are completely contained in the selected area will be counted.
  • Polygons and figures that are rotated to arbitrary angles are not supported.
  • TEXT elements of GDSII, OASIS, etc. and jobdeck titles are calculated from its bounding rectangle.
Last modified December 23, 2024