GetXData Method
Gets the extended data (XData) associated with an object.
See Also | Example
Signature
object.GetXData AppName, XDataType, XDataValue
Object
AecAnchor,
AecAnchorEntToCurve,
AecAnchorEntToGridAssembly,
AecAnchorEntToLayoutCell,
AecAnchorEntToLayoutNode,
AecAnchorEntToLayoutVolume,
AecAnchorLeadEntToNode,
AecAnchorExtendedTagToEnt
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.
AppName
String; input-only
A NULL string will return all the data attached to the object, regardless of the application that created it. Supplying an application name will return only the data that was created by the specified application.
XDataType
Variant (array of shorts); output-only
XDataValue
Variant (array of variants); output-only
Remarks
Extended data can be used to store instance-specific data created by custom applications. This data can be added to any object. This data follows the object's definition data, and is maintained in the order that it was saved into the document. (AutoCAD maintains this information, but doesn't use it.)