CreateRectangleBorderRegion
Creates a frame-shaped region with given parameters.
Syntax
C++
Python
def CreateRectangleBorderRegion( inRectangle: Rectangle2D, inBorderWidth: float, inBorderPosition: BorderPosition, inFrameWidth: int, inFrameHeight: int, outRegion: Region, /, *, inRectangleAlignment: CoordinateSystem2D | None = None, outAlignedRectangle: Rectangle2D | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | |||
![]() |
inRectangleAlignment | CoordinateSystem2D | None | None | Adjusts the rectangle to the position of the inspected object | |
![]() |
inBorderWidth | float | 0.0 - ![]() |
||
![]() |
inBorderPosition | BorderPosition | |||
![]() |
inFrameWidth | int | 0 - 65535 | Width of the created region's frame | |
![]() |
inFrameHeight | int | 0 - 65535 | Height of the created region's frame | |
![]() |
outRegion | Region | Output region | ||
![]() |
outAlignedRectangle | Rectangle2D | None | None | The input rectangle transformed to the absolute coordinate system |



