SetXdata method [AEC base objects]

AEC Auto

SetXData Method

Sets the extended data (XData) associated with an object.

See Also | Example

Signature

object.SetXData XDataType, XData

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 method applies to.

XDataType

Variant (array of short); input-only
See Extended Data in the DXF Reference for the extended data group codes to specify for this argument.

XData

Array of Variant; input-only

Remarks

Extended data can be used for storing instance-specific data created by custom applications. This data can be added to any entity. This data follows the entity's definition data and is maintained in the order in which it was saved into the document. (AutoCAD maintains this information but doesn't use it.)