CreateCoordinateSystemFromRectangle
Creates a coordinate system from a rectangle.
Applications:Most often used to define an object alignment from a filter like RegionBoundingRectangle.
Syntax
C++
Python
def CreateCoordinateSystemFromRectangle( inRectangle: Rectangle2D, /, *, inPointAnchor: Anchor2D = Anchor2D.TopLeft, inRelativeAngle: float = 0, inScale: float = 1.0, inScaleDivisor: float = 1.0 ) -> outCoordinateSystem: CoordinateSystem2D
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | |||
![]() |
inPointAnchor | Anchor2D | Anchor2D.TopLeft | ||
![]() |
inRelativeAngle | float | 0 | ||
![]() |
inScale | float | 0.001 - ![]() |
1.0 | |
![]() |
inScaleDivisor | float | 0.001 - ![]() |
1.0 | |
![]() |
outCoordinateSystem | CoordinateSystem2D |



