Community

How can i expand region of block of repeating group?

Good day!

How can i expand region of block of repeating group?

This script is useful only non-repeating group block

Rect outputRect;
    outputRect = SearchElements.CookingTime.Rect;
    OutputRegion = outputRect;
  OutputRegion.Inflate (3*mm, 2*mm);

 

Thanks in advance.

 

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    Hello,

    Yes, you cannot expand the region directly by Inflate function. Please use the following scenario:

    Let “csValue” is the value, which we need to extract from repeating group. Create the “regionValue” region in the SearchElements tree outside the repeating group and in the Advanced pre-search relations use the script:

    RSA: csValue.Rect.GetInflated(5dt, 5dt);

    0

Please sign in to leave a comment.