API Reference > Classes > Main Classes > OdBmOpeningHelper Class > OdBmOpeningHelper Methods > OdBmOpeningHelper::newOpening Method (OdBmHostObjPtr&, OdBmCurveLoopPtr&, bool)
OdBmOpeningHelper::newOpening Method (OdBmHostObjPtr&, OdBmCurveLoopPtr&, bool)
Syntax
C++
static OdResult newOpening(OdBmHostObjPtr& pHostObj, const OdBmCurveLoopPtr& pCurveLoop, bool bPerpendicularFace = true);
Parameters 
Description 
OdBmHostObjPtr& pHostObj 
[in] Host object element.  
const OdBmCurveLoopPtr& pCurveLoop 
[in] Profile of the opening.  
bool bPerpendicularFace = true 
[in] True if the profile is cut perpendicular to the intersecting face of the host. False if the profile is cut vertically.  

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

Creates a new opening on a host element. 

 

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