API Reference > OdDb Classes > OdDbHatch Class > OdDbHatch Methods > insertLoopAt Method > OdDbHatch::insertLoopAt Method (int, OdInt32, OdDbObjectIdArray&)
OdDbHatch::insertLoopAt Method (int, OdInt32, OdDbObjectIdArray&)
Syntax
C++
void insertLoopAt(int loopIndex, OdInt32 loopType, const OdDbObjectIdArray& dbObjIds);
Parameters 
Description 
int loopIndex 
[in] Loop index.  
OdInt32 loopType 
[in] Type of loop being appended.  
const OdDbObjectIdArray& dbObjIds 
[in] Array of OdDbEntity Object IDs that comprise the loop. 

Inserts a loop into this Hatch entity on the specified index. 

 

loopType is one of the following: 

 

Name 
Value 
Description. 
kDefault 
Not yet specified. 
kExternal 
Defined by external entities. 
kPolyline 
Defined by OdGe polyline. 
kDerived 
Derived from a picked point. 
kTextbox 
Defined by text. 
kOutermost 
0x10 
Outermost loop. 
kNotClosed 
0x20 
Open loop. 
kSelfIntersecting 
0x40 
Self-intersecting loop. 
kTextIsland 
0x80 
Text loop surrounded by an even number of loops. 
kDuplicate 
0x100 
Duplicate loop. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.