alignScopeToGeometryBBox operation

Syntax

alignScopeToGeometryBBox(alignAxes)

Parameters

Description

The alignScopeToGeometryBBox operation manipulates the scope and the pivot in the following way:

Related

Example

alignScopeToGeometryBBox_before
Lot --> Lot.

The initial shape. The initial scope x axis and pivot x axis are aligned to the first edge of the geometry (illustrated with an arrow). The y axes are aligned to the face normal. The origin of the pivot is situated at the first edge.

alignScopeToGeometryBBox_after
Lot --> alignScopeToGeometryBBox(xz)

The scope x and z axes are aligned to the geometry. The scope x axis is oriented along the larger extent of the minimum area bounding rectangle of the geometry. The pivot is placed at the origin of the scope.

Copyright ©2008-2023 Esri R&D Center Zurich. All rights reserved.