Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::setHandle Method
Syntax
C++
void setHandle(const OdDbHandle& vHandle);

Sets the data content of the ResBuf object using the specified Handle instance only if the stored group code has the Handle type. 

 

Parameters
Description
vHandle
[in] Handle instance to be set.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Handle type. The passed value must be an instance of the OdDbHandle class or OdUInt64 class to be converted to Handle type.

Example of Entering and Displaying Tagged Data 

Getting and Setting Objects 

Determining the Data Type by Group Code 

OdResBuf::getHandle(), OdResBuf::setRestype(), OdDxfCode::_getType() methods 

OdDbHandle, OdUInt64 classes

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