Share

AcAxSetXData

C++

HRESULT AXAUTOEXP AcAxSetXData(
    AcAxObjectRef& objRef, 
    VARIANT type, 
    VARIANT data
);

File

axboiler.h

Description

Sets 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 set xdata
type VARIANT containing SAFEARRAY of shorts (VT_I2) where each element represents the DXF group code of the associated xdata value
data VARIANT containing SAFEARRAY of variants (VT_VARIANT) where each element represents the xdata value

Was this information helpful?