GetXData Method |
Gets the extended data (XData) associated with an object.
Signature
object.GetXData AppName, XDataType, XDataValue
Object
All
Drawing Objects , AttributeReference, Block, Dictionary, DimStyle, Group, Layer, Linetype, PlotConfigurations,
RegisteredApplication,
TextStyle, UCS, View, Viewport; XRecord
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 is an example of instance-specific data created by applications written with ObjectARX or AutoLISP. 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.)
Comments? |