package NamedSelection;

import j4d.open.*;

class Examplet {

  /* doUseNamedSelection create a selection using a selection named "My_Beautifull_Selection"
  */
  public void doUseNamedSelection(opProcess process) throws opException {

    int targetTable = 2;

    try{
      opSelection mSelection = new opSelection(targetTable, "My_Beautifull_Selection");
      process.UseNamedSelection(mSelection);
    }
    catch (opException er){throw er;}
  }
}