API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > newRb Method > OdDgResBuf::newRb Method (int, OdGeVector3d&)
OdDgResBuf::newRb Method (int, OdGeVector3d&)
Syntax
C++
static OdDgResBufPtr newRb(int resType, const OdGeVector3d& resVal);
Parameters 
Description 
int resType 
[in] Group code as an Integer value.  
const OdGeVector3d& resVal 
[in] Value of the corresponding type. 

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

 

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

Sequence of Tagged Data 

Getting and Setting Objects

Copyright © 2002–2020. Open Design Alliance. All rights reserved.