API Reference > OdDb Classes > OdDbSectionSettings Class > OdDbSectionSettings Methods > OdDbSectionSettings::setLayer Method
OdDbSectionSettings::setLayer Method
Syntax
C++
void setLayer(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString& pszLayer);
Parameters 
Description 
OdDbSectionSettings::SectionType nSecType 
[in] Section type.  
OdDbSectionSettings::Geometry nGeometry 
[in] Geometry, which layer name will be set.  
const OdString& pszLayer 
[in] Name of the layer. 

Sets the name of the layer of the specified geometry. 

 

Possible section types are:

kLiveSection - 0x1, 
k2dSection - 0x2, 
k3dSection - 0x4 

Possible geometries are:

kIntersectionBoundary - 0x1, 
kIntersectionFill - 0x2, 
kBackgroundGeometry - 0x4, 
kForegroundGeometry - 0x8, 
kCurveTangencyLines - 0x10 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.