Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::newRb Method (int, OdUInt16)
Syntax
C++
static OdResBufPtr newRb(int resType, OdUInt16 resVal);

Create an instance of the ResBuf object of the specified data type and initialized the specified data value. 

 

Parameters
Description
resType
[in] Group code as an Integer value.
resVal
[in] Value of the corresponding type.

This method generate the OdError_InvalidResBuf exception when the specified data value does not correspond to the specified data type.

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