API Reference > Classes > Main Classes > OdBmOpeningHelper Class > OdBmOpeningHelper Methods > OdBmOpeningHelper::newOpening Method (OdBmVWallPtr&, OdGePoint2d&, OdGePoint2d&)
OdBmOpeningHelper::newOpening Method (OdBmVWallPtr&, OdGePoint2d&, OdGePoint2d&)
Syntax
C++
static OdResult newOpening(OdBmVWallPtr& pVWall, const OdGePoint2d& ptStart, const OdGePoint2d& ptEnd);
Parameters 
Description 
OdBmVWallPtr& pVWall 
[in] Wall element.  
const OdGePoint2d& ptStart 
[in] One corner of the rectangle.  
const OdGePoint2d& ptEnd 
[in] The opposite corner of the rectangle.  

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

Creates a rectangular opening on a wall element. 

 

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