Returns the data content of the ResBuf object as a Boolean value.
This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Bool type. If the stored value is an Integer type, this method casts it to a Boolean type and returns True when the value is non zero, or False when the value is zero.
Example of Entering and Displaying Tagged Data
Getting and Setting Typical Data (integer
Determining the Data Type by Group Code
OdResBuf::setBool(), OdResBuf::restype(), OdDxfCode::_getType() methods
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|