How can i expand region of block of repeating group?

  • 74 Views
  • Last Post 28 September 2018
Turan posted this 12 September 2018

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.

 

Ekaterina posted this 28 September 2018

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);

Close