# Set Rectangle Transformation Engine

The `SetRectangle` transformation engine adds rectangles to records. The rectangles are produced by a Lua function that you write. This can be useful in cases where you want to dynamically define a region. For example, you can create records that contain rectangles and then analyze the region inside the rectangle by using the records as the input for an analysis task and setting the parameter `RestrictToInputRegion=TRUE` (in this case the analysis task automatically analyzes the last region that was added).

Configuration Parameter | Description
--- | ---
Input | The name of the input track.
LuaScript | A Lua script that produces the rectangle(s).
Type | The type of transformation engine to use. Set this parameter to `SetRectangle`.

This transformation engine produces a single output track, named `taskName.Output`, where `taskName` is the name of the transformation task.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm