GetAnchor Method

AEC Auto

GetAnchor Method

Returns the anchor attached to an object.

See Also | Example

Signature

RetVal = object.GetAnchor()

object

AecBlockRef, AecCamera, AecCellLayoutTool, AecClipVol, AecClipVolRes, AecEntRef, AecGeo, AecGridAssembly, AecLayoutCurve, AecLayoutGrid2D, AecLayoutGrid3D, AecLayoutTool, AecMaskBlockRef, AecMassElement, AecMassGroup, AecMVBlockRef, AecPolygon, AecSlice, AecVolumeLayoutTool
The object the anchor is attached to.

RetVal

AecAnchor, AecAnchorEntToCurve, AecAnchorEntToGridAssembly, AecAnchorEntToLayoutCell, AecAnchorEntToLayoutNode, AecAnchorEntToLayoutVolume, AecAnchorLeadEntToNode, AecAnchorToRef The anchor attached to the object.

 

Remarks

Use an AecAnchor object as a generic return argument. (The example code for this method demonstrates how to access an anchor attached to any AEC object.)