ObjectID property [AEC Base Automation Reference: AecXBase]

AEC Auto

ObjectID Property

Gets the object ID of the object.

See Also | Example

Signature

object.ObjectID

object

AecAnchor, AecAnchorEntToCurve, AecAnchorEntToGridAssembly, AecAnchorEntToLayoutCell, AecAnchorEntToLayoutNode, AecAnchorEntToLayoutVolume, AecAnchorExtendedTagToEnt AecAnchorLeadEntToNode, AecAnchorToRef, AecBlockRef, AecCamera, AecCellLayoutTool, AecClipVol, AecClipVolRes, AecDictionary, AecDictRecord, AecEntity, AecEntRef, AecGeo, AecGridAssembly, AecLayerKeyStyle, AecLayerKeyStyles, AecLayoutCurve, AecLayoutGrid2D, AecLayoutGrid3D, AecLayoutTool, AecMaskBlockRef, AecMaskBlockStyle, AecMaskBlockStyles, AecMassElement, AecMassGroup, AecMVBlockRef, AecMVBlockStyle, AecMVBlockStyles, AecObject, AecPolygon, AecPolygonStyle, AecPolygonStyles, AecProfileStyle, AecProfileStyles, AecSlice, AecVolumeLayoutTool
The object or objects this property applies to.

ObjectID

Long; read-only
The object ID of an entity.

Remarks

An object ID and a unique handle are both ways of referencing an object.

In general, use a handle unless you plan to work with certain ObjectARX functions that require an object ID.