API Reference > Classes > OdIfcFile Class > OdIfcFile Methods > OdIfcFile::setContextSelection Method
OdIfcFile::setContextSelection Method
Syntax
C++
OdResult setContextSelection(const OdDAIObjectIds & contexts);
Parameters 
Description 
const OdDAIObjectIds & contexts 
[in] A set of identifiers of SDAI objects, which represent the context selection.  

eOk if the new context selection was successfully set; otherwise, the method returns an appropriate error code.

Sets geometrical context selection to build a geometrical representation for selected geometrical contexts. Only selected contexts will be composed and drawn.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.