API Reference > Auxiliary Classes > AECDefs Namespace > AECDefs::GaAlignment Enumeration
AECDefs::GaAlignment Enumeration
Syntax
C++
enum GaAlignment { egaCenter = 0, egaFront = 1, egaBack = 2 };

AECBaseDefs.h

Members 
Description 
egaCenter = 0 
offset the element so that its center of the extents matches the original insertion point 
egaFront = 1 
do not offset the object 
egaBack = 2 
offset the object so that it's back side matches the inesrion point 

Defines alignment for anchoring to Grid Assembly.

This value is stored as a data memeber of AECDbAnchorEntToGridAssembly class. Offset alignment is treated along the normal to cell plane. The alignment type defines if the filler object should be offset from its original position when being drawn in a grid assembly. 

The offset, specified by this enumeration is applied only if the variation of the infill original position is allowed (when the method AECDbAnchorEntToGridAssembly::IsAllowVariationFromInfillPosition returns true). 

See AECDbAnchorEntToGridAssembly class decsriiption for more information. 

 

Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.