Share

AcAxGetXData

C++

HRESULT AXAUTOEXP AcAxGetXData(
    AcAxObjectRef& objRef, 
    BSTR bstrName, 
    VARIANT* type, 
    VARIANT* data
);

File

axboiler.h

Description

Gets the xdata on the object identified by objRef.

Otherwise, this function is identical to the overload that takes an object ID parameter.

Parameters

Parameters Description
objRef Input object reference of object for which to get xdata
bstrName Input name of the registered application to use when retrieving the xdata
type Pointer to VARIANT that will be populated with a SAFEARRAY of shorts (VT_I2) where each element represents the DXF group code of the associated xdata value
data Pointer to VARIANT that will be populated with a SAFEARRAY of variants (VT_VARIANT) where each element represents the xdata value

Was this information helpful?