Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 75.0.0.0
Parameters
- other
- Type: Cognex.VisionPro.EdgeInspect CogBeadInspectRunParams
The run params whose masks and fill edges will be copied to create the three lists.
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this method changes the MaskList, RightFillList, and/or LeftFillList properties. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentNullException | other is null. |
Before masks or fill edges may be used, their lists must be initialized using a CogBeadInspectTrainResult, which ensures that the lists are correctly synchronized with the actual number of calipers. When interacting with a new training result (typically because the Pattern has just been retrained), it is required that the lists be recreated if the number of calipers has changed. If the number of calipers has not changed, then recreating the lists is not required, but a review is advised to ensure that their positions still meet expectations. Failure to recreate the lists when required will result in a runtime error until new lists are generated or the current lists are destroyed.
Attempting to access the elements or call the methods of an ICogBoolList that has been destroyed by a call to DestroyMaskAndFillLists will result in an ObjectDisposedException.
Calling this method will destroy all existing mask and fill edge lists prior to creating the new lists.