API Reference > Classes > Main Classes > OdBmOpeningHelper Class > OdBmOpeningHelper Methods > OdBmOpeningHelper::newOpening Method (OdBmHostObjPtr&, OdInt32, OdBmCurveLoopPtr&)
OdBmOpeningHelper::newOpening Method (OdBmHostObjPtr&, OdInt32, OdBmCurveLoopPtr&)
Syntax
C++
static OdResult newOpening(OdBmHostObjPtr& pHostObj, OdInt32 faceTag, const OdBmCurveLoopPtr& pCurveLoop);
Parameters 
Description 
OdBmHostObjPtr& pHostObj 
[in] Host object element.  
OdInt32 faceTag 
[in] Face tag on which opening is based on.  
const OdBmCurveLoopPtr& pCurveLoop 
[in] Profile of the opening.  

eOk if the opening is created successfully, or an appropriate error code otherwise.

Creates a new opening on a host element. 

 

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