Trainable locator inheritance

By default, when a class contains one or more non-trainable locators, these are inherited by any child classes and behave the same as their parents without any manual interventions. With trainable locators, this is not the case.

When a trainable locator is inherited, it extracts as expected, but it is not trainable by default. Because of this, you can manually configure an inherited trainable locator so that it is trainable by following these steps:

  1. Open the properties of an inherited trainable locator.

    The Properties icon is greyed out and unavailable.

  2. Click Copy Method.

    The Properties icon is available.

  3. Click Properties.

    The locator properties window is displayed.

  4. Click Close.

    The properties window closes.

  5. Repeat the above steps for each inherited trainable locator.
  6. Click Save Project.

    All inherited trainable locators now behave as expected.