API Reference > Other Classes > OdModelerTools Class > OdModelerTools Methods > OdModelerTools::createHatchFromModelerGeometry Method
OdModelerTools::createHatchFromModelerGeometry Method
Syntax
C++
virtual OdResult createHatchFromModelerGeometry(const OdDbEntity& geom, OdDbEntityPtrArray& aHatch) = 0;
Parameters 
Description 
const OdDbEntity& geom 
[in] The source entities.  
OdDbEntityPtrArray& aHatch 
[out] Receives a result hateches.  

eOk if successful, or an appropriate error code if not.

Creates OdDbHatch entities from OdDbRegion or OdDbSurface (planar). 

 

The newly created *hatches* are non- *database* -resident. It is up to the caller to either add them to an OdDbDatabase or to delete them.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.