

1.
----------------------------------------------------------------------------
| Command     : aoi_units                                                  |
----------------------------------------------------------------------------
| Description : The command is used for setting the CURRENT working units. |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| units               | inch, mm                     |                     |
----------------------------------------------------------------------------


2.
----------------------------------------------------------------------------
| Command     :aoi_open                                                    |
----------------------------------------------------------------------------
| Description : The command is used for opening Mania interface            |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| job                 | existing job name            |                     |
----------------------------------------------------------------------------


3.
----------------------------------------------------------------------------
| Command     :aoi_close                                                   |
----------------------------------------------------------------------------
| Description : The command is used for closing Mania interface            |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------


4.
----------------------------------------------------------------------------
| Command     :set_cur_aoi                                          |
----------------------------------------------------------------------------
| Description : The command is used for setting the current entity names.  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| job                 | existing job name            |                     |
----------------------------------------------------------------------------
| step                | existing step name           |                     |
----------------------------------------------------------------------------
| layer               | existing layer name          |                     |
----------------------------------------------------------------------------
| name                | MANIA AOI set entity        |                     |
----------------------------------------------------------------------------


5.
----------------------------------------------------------------------------
| Command     : create_aoi_entity                                          |
----------------------------------------------------------------------------
| Description : The command is used for creating a MANIA AOI entity.       |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| name                | MANIA AOI set entity         |                     |
----------------------------------------------------------------------------


6.
----------------------------------------------------------------------------
| Command     : copy_aoi_set                                               |
----------------------------------------------------------------------------
| Description : The command is used for setting the current entity names.  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| source_layer        | existing layer name          |                     |
----------------------------------------------------------------------------
| source_set          | existing set name            |                     |
----------------------------------------------------------------------------
| layer               | existing layer name          |                     |
----------------------------------------------------------------------------
| set                 | MANIA AOI set entity         |                     |
----------------------------------------------------------------------------


7.
----------------------------------------------------------------------------
| Command     : delete_aoi_set                                               |
----------------------------------------------------------------------------
| Description : The command is used for setting the current entity names.  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| layer               | existing layer name          |                     |
----------------------------------------------------------------------------
| set                 | MANIA AOI set entity         |                     |
----------------------------------------------------------------------------


8.
----------------------------------------------------------------------------
| Command     : set_aoi_params                                         |
----------------------------------------------------------------------------
| Description : Set several parameters                                     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| resolution          | 0.0 -100.0                   |                     |
----------------------------------------------------------------------------
| out_dir             | legal file pathname          |                     |
----------------------------------------------------------------------------


9.
----------------------------------------------------------------------------
| Command     : aoi_align                                                  |
----------------------------------------------------------------------------
| Description : Set board alignment                                        |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| mirror              | yes, no                      |                     |
----------------------------------------------------------------------------
| angle               | 0, 90, 180, 270              |                     |
----------------------------------------------------------------------------



10.
----------------------------------------------------------------------------
| Command     : aoi_register                                               |
----------------------------------------------------------------------------
| Description : Set registration offset                                    |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| xoff, yoff          | legal coordinate value       |  Offset - units     |
----------------------------------------------------------------------------


11.
----------------------------------------------------------------------------
| Command     : aoi_output                                                 |
----------------------------------------------------------------------------
| Description : Generate AOI output files                                  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
----------------------------------------------------------------------------


12.
----------------------------------------------------------------------------
| Command     : aoi_add_pad                                                |
----------------------------------------------------------------------------
| Description : Add circular area                                          |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| x, y                | legal coordinate value       |  Position - Inch    |
----------------------------------------------------------------------------
| rad                 | 0 - max double               |  Radius             |
----------------------------------------------------------------------------



13.
----------------------------------------------------------------------------
| Command     : aoi_add_rect                                               |
----------------------------------------------------------------------------
| Description : Add rectangular area                                       |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| x1, y1, x2, y2      | legal coordinate value       |  Position - Inch    |
----------------------------------------------------------------------------



14.
----------------------------------------------------------------------------
| Command     : aoi_poly_start                                             |
----------------------------------------------------------------------------
| Description : Start a polygonal area                                     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| x, y                | legal coordinate value       |  Position - Inch    |
----------------------------------------------------------------------------



15.
----------------------------------------------------------------------------
| Command     : aoi_poly_add_seg                                           |
----------------------------------------------------------------------------
| Description : Add a segment to polygonal area                            |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| x, y                | legal coordinate value       |  Position - Inch    |
----------------------------------------------------------------------------


16.
----------------------------------------------------------------------------
| Command     : aoi_poly_close                                             |
----------------------------------------------------------------------------
| Description : Close a polygonal area                                     |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------



17.
----------------------------------------------------------------------------
| Command     : aoi_affect                                                 |
----------------------------------------------------------------------------
| Description : Set a logical layer on/off                                 |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| num                 | Legal logical layer index    | layer index         |
----------------------------------------------------------------------------
| mode                | single, all                  |                     |
----------------------------------------------------------------------------



18.
----------------------------------------------------------------------------
| Command     : aoi_attrib_set                                             |
----------------------------------------------------------------------------
| Description : Set area attributes in parameter layers                    |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| chk_add            | yes, no                      |                     |
----------------------------------------------------------------------------
| chk_mis            | yes, no                      |                     |
----------------------------------------------------------------------------
| sensitivity        | high, low, med               |                     |
----------------------------------------------------------------------------
| space              | 0 - 10                       | Index               |
----------------------------------------------------------------------------
| track              | 0 - 10                       | Index               |
----------------------------------------------------------------------------


19.
----------------------------------------------------------------------------
| Command     : aoi_auto_scan                                              |
----------------------------------------------------------------------------
| Description : Automatic calulation of general-dr scan area               |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| step                |                              |  Step name          |
----------------------------------------------------------------------------


20.
----------------------------------------------------------------------------
| Command     : aoi_chklist_run                                          |
----------------------------------------------------------------------------
| Description : Run checlist for AOI analysis of DRC errors                |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| step                |                              |  Step name          |
----------------------------------------------------------------------------
| name                |                              | Checlist name       |
----------------------------------------------------------------------------
| keep_lyrs           | Keep measurement layers created by checklist | True/False |
----------------------------------------------------------------------------


21.
----------------------------------------------------------------------------
| Command     : delete_selected                                            |
----------------------------------------------------------------------------
| Description : Generate AOI output files                                  |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
----------------------------------------------------------------------------


22.
----------------------------------------------------------------------------
| Command     : copy_sr                                                    |
----------------------------------------------------------------------------
| Description : Step and repeat selected features                          |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
----------------------------------------------------------------------------


23.
----------------------------------------------------------------------------
| Command     : aoi_disp                                                   |
----------------------------------------------------------------------------
| Description : Set display elements                                       |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| profile             | yes, no                      |                     |
----------------------------------------------------------------------------
| origin              | yes, no                      |                     |
----------------------------------------------------------------------------
| scan_table          | yes, no                      |                     |
----------------------------------------------------------------------------



24.
----------------------------------------------------------------------------
| Command     : drc_import                                                 |
----------------------------------------------------------------------------
| Description : Imports a layer into the DRC logical layer of the aoi set. |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| step                | existing step name           |                     |
----------------------------------------------------------------------------
| layer               | existing layer name          |                     |
----------------------------------------------------------------------------
| replace             | yes, no                      |  Replace / Add to   |
----------------------------------------------------------------------------


25.
----------------------------------------------------------------------------
| Command     : aoi_drill                                                  |
----------------------------------------------------------------------------
| Description : Generates the set's drill data from the job.               |
----------------------------------------------------------------------------
| Response    : None                                                       |
============================================================================
| Parameter           | Legal values                 | Comment             |
----------------------------------------------------------------------------
| step                | existing step name           |                     |
----------------------------------------------------------------------------
| layer               | existing layer name          | releval only if use_all = False |
----------------------------------------------------------------------------
| use_all             | yes, no                      |  perform for all drill layers |
----------------------------------------------------------------------------
| enlarge             | by how much to enlarge drills|
----------------------------------------------------------------------------
