Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbObject::setXData Method
Syntax
C++
virtual void setXData(const OdResBuf* pRb);

Sets the XData of this object. 

 

Parameters
Description
pRb
[in] A pointer to the ResBuf list containing the XData.

The sublist for each RegApp, and the ResBuf list itself, must begin with a ResBuf with resbuf.restype == kDxfRegAppName and resbuf.rstring == a valid regAppName string. 

Any existing XData for the specified regAppName will be replaced. 

To remove the regAppName and its XData, just provide the regAppName with no data. 

If you override this method, you should supermessage this classes parent class to add add the XData to the object.

Copyright © 2002-2022. Open Design Alliance All rights reserved.